Emoji picker tab wrong after opening again
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
- Open emoji picker
- Go to another tab in the picker
- Close the picker
- Open the picker again
Expected behaviour
Either the first tab should be selected or the last tab should be show
Actual behaviour
The last tab is selected, but the first tab is shown. Clicking on the selected tab again fixes it
Talk app
Talk app version: c.nc.c
Browser
Microphone available: yes
Camera available: yes
Operating system: Arch
Browser name: Firefox
Browser version: 110
Moving to vue library, but most likely it's not even an issue there but further upstream
Some info.
When the popup is closed, it is actually still "hiddenly open" for some time (to make reopening fast, floating-vue feature). This is why the active category is preserved in the tabs.
But when reopened, popover does something with the DOM which resets the scroll position...