-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Dialogs of scrolled buttons don't align #3498
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
base: master
Are you sure you want to change the base?
Conversation
|
!build |
|
|
Hi @timon-schelling, Thanks for the review! I want to make sure I understand the issue correctly before making changes. Regarding "The bumping logic seems off" - could you clarify what specific behavior you're seeing? I'm wondering if you're referring to:
A quick description or additional screenshot/screen-recording would help me fix this correctly on the first try. Thanks! |
|
The second one, the bumping logic still needs to apply but also take into account the scroll position. |
|
Fixed the issue @timon-schelling Now, the dialog stays visible completely till the button stays on the screen while scrolling. |
|
!build |
|
|
!build |
|
|
Apologies! Work fine now. |
|
!build |
|
|
Sorry for taking so long to take a look at the code again. |
124235a to
a42cad8
Compare
|
@ayush80942 are you still interested in working on this? |
|
Yes, I am figuring out a way to find bounds of the scrollable parent without distributing between panels. Would be able to make changes 1-2 days. |
|
@timon-schelling I have tried to generalise the code by removing hardcoded - I have used the bounds of scrollable parents as suggested. Please have a look if it woks fine now. |
|
!build |
|
|
Wasn't able to find more edge cases. |
|
And run eslint on the file. |
|
I have added the comments back as-is. I have fixed the eslint warnings as well. I just wanted to inform that the behaviour is still not fine in safari browser which i just tested. There is a safari specific code added in the production code at lines 82-91: |






Fixes a issue dropped in #code-todo-list https://discord.com/channels/731730685944922173/881073965047636018/1450985374292906097
Test Results -
Screen.Recording.2025-12-20.at.7.mp4