HomePhabricator
Diffusion Comm a0d9fb26b1e1

[web] Keyboard support for typeahead [10/13] - Create and set callback…

Description

[web] Keyboard support for typeahead [10/13] - Create and set callback functions in tooltip component. It does not do anything yet

Summary:
We create callback functions in tooltip component and save them to state in context.
I also created state for keeping information about position of currently chosen button.
User interactions (pressing buttons and hovering mouse) will use callbacks to change internal state of component.

Test Plan:
Typeahead without keyboard support works.
Final tests performed in last diffs.

Reviewers: inka, kamil, ginsu, tomek

Reviewed By: inka, tomek

Subscribers: ashoat, atul, tomek, ginsu, kamil, inka

Differential Revision: https://phab.comm.dev/D6050