Dialogs of scrolled buttons don't align#3498
Dialogs of scrolled buttons don't align#3498ayush80942 wants to merge 8 commits intoGraphiteEditor:masterfrom
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: |
|
@timon-schelling did you get a chance to review this ? |
|
I believe this is in my lap now not his to finish off. There will be a delay before I can get to it, I'm sorry to say, due to current priorities and backlog. Feel free to tackle other Rust-related issues in the meantime. Thanks for your patience. |
d6228da to
e58c1de
Compare
9b97ab7 to
2e842cb
Compare
f07c79b to
76938eb
Compare






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