-
-
Notifications
You must be signed in to change notification settings - Fork 514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XWIKI-22148: The search results are not hidden when the focus moves out of the quick search field #3103
Conversation
The animation is a bit awkward because the results are being positioned relative to the left of the bounding box (with a negative value). So when the input is shrunk to 0 the result box follow this change in size from the left margin. The animation will be nicer if you could change it to the right and with a positive number (this will be the size of the search icon bounding box). I don't know the complexity of this because I did it only in web tools. Animation with the change: Screen.Recording.2024-05-06.at.13.19.05.mp4 |
Seems a bit complicated, changing the positioning the way you suggest implies changing the positioning logic of Line 513 in 78728c9
Another option is to simply not have any animation, I feel like it's nicer to just see the results disappear instantaneously than to have an inconsistent animation. |
I was not aware of the logic behind it. In that case I agree that disabling the animation seems to be the best option. |
…ut of the quick search field
Jira URL
https://jira.xwiki.org/browse/XWIKI-22148
Changes
Description
Screenshots & Video
Screencast.from.06-05-2024.15.44.39.webm
Executed Tests
Manual tests.
Expected merging strategy