Skip to content

Commit

Permalink
Merge branch 'language-selector' into lang-selector-translations
Browse files Browse the repository at this point in the history
  • Loading branch information
sbates-idrc committed Sep 18, 2024
2 parents ca9b140 + 5ed976c commit 2ad8aea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -1688,8 +1688,10 @@ export class App extends React.Component<AppProps, AppState> {

render() {
return (
// Use a key to force rerendering of the whole app when the
// language is changed
// Use a 'key' to force rerendering of the whole app when the
// language is changed. Rerendering the app ensures that
// the correct screen reader voice is used on Firefox after
// changing languages.
<div key={this.props.language}>
<div
className={
Expand Down

0 comments on commit 2ad8aea

Please sign in to comment.