-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[mobile] Prevent the IDE from scrolling along with the text (e.g. on iPad) #5742
Conversation
fbf07d5
to
768bd76
Compare
I don't have iPad to verify, but we should at least check that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can proceed with it. It will only break if Theia is embedded not as a iframe, but attached to some child element. Which is not supported right now.
It would be good to get one more opinion before merging. At least that other agree, will merge it on Monday if no objections. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah no, it broke the overlay widgets. They are displayed in the wrong position now. Try to open any quick palette.
Thanks for the review! I believe that the main difference between I noticed that changing It's totally possible that my PR other absolutely positioned elements downstream. I'll try to fix the overlay widgets you mentioned (thanks for catching these!) |
@jankeromnes the main issue with this PR that in the future it won't allow to append Theia shell somewhere in the page, not to the body. I wonder is there a way to avoid switching to |
c7cc6bf
to
13faed3
Compare
Switched to @vince-fugnitto's |
(Not sure what |
13faed3
to
6f109f9
Compare
I think the issue is the |
…iPad) Ref: eclipse-theia#3557 Co-authored-by: Vincent Fugnitto <[email protected]> Signed-off-by: Jan Keromnes <[email protected]>
6f109f9
to
f70a269
Compare
( |
All green! @vince-fugnitto or @akosyakov please take another look when you have time. 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good to me 👍
The bug regarding the previous iteration with the quick-open
menu is no longer present either.
Part of #3557 (thanks a lot @EricRabil for the tip! 💯)
Screencasts
Current scrolling behavior (IDE scrolls with code editor): https://youtu.be/T0So5v0GQBA
New scrolling behavior (fixed IDE): https://youtu.be/Q3oURvM4Dh0