Support RTL language in message composer

This commit is contained in:
sha-265 2019-11-04 17:37:36 +00:00 committed by GitHub
parent b81c084cf5
commit bc924bbd82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -566,6 +566,7 @@ export default class BasicMessageEditor extends React.Component {
aria-haspopup="listbox" aria-haspopup="listbox"
aria-expanded={Boolean(this.state.autoComplete)} aria-expanded={Boolean(this.state.autoComplete)}
aria-activedescendant={completionIndex >= 0 ? generateCompletionDomId(completionIndex) : undefined} aria-activedescendant={completionIndex >= 0 ? generateCompletionDomId(completionIndex) : undefined}
dir="auto"
/> />
</div>); </div>);
} }