emoji picker improvements (#2392)
* rework emoji picker * dynamic position * always prefer the left if it will fit * add accessibility label * Update EmojiPicker.web.tsx oops. remove accessibility from fake button
This commit is contained in:
parent
e460b304fc
commit
c1dc0b7ee0
6 changed files with 137 additions and 60 deletions
|
@ -30,6 +30,7 @@ export interface ComposerOpts {
|
|||
onPost?: () => void
|
||||
quote?: ComposerOptsQuote
|
||||
mention?: string // handle of user to mention
|
||||
openPicker?: (pos: DOMRect | undefined) => void
|
||||
}
|
||||
|
||||
type StateContext = ComposerOpts | undefined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue