You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, I would like to clarify that this is not a bug report, but a request to implement a workaround for Chromium based browsers so that browser controls behave as they do in all other browsers.
In our RAP application, we have several use cases for editing and checking documents. Servlets intended for this purpose are opened in browser controls (iframes). The documents are typically longer and do not fit on one screen, so they are rendered with scrollbars. If you have several tabs with such iframes and switch from one to another, the previously displayed iframe is hidden with display:none.
A Chromium bug occurs here, which causes the hidden iframe to lose its scroll position information. Unfortunately, the bug report has been open for a long time and it seems unclear whether this bug will ever be fixed.
However, a comment mentions as a workaround that visibility:hidden could be used instead of display:none so that the scroll position is retained.
We would therefore like to suggest implementing this workaround in RAP, possibly as an option, so that browser controls behave in the same way in all common browsers regarding scroll positions.
The text was updated successfully, but these errors were encountered:
I'm sorry, but we lack the necessary experience for the development of Eclipse RAP. We have not yet looked into it and presumably more needs to be considered than just replacing "display: none" with "visibility:hidden" in the right place.
mknauer
changed the title
Enhancement: Browser controls in tabs lose scroll position in Chromium based browers
Browser controls in tabs lose scroll position in Chromium based browers
Mar 13, 2024
First of all, I would like to clarify that this is not a bug report, but a request to implement a workaround for Chromium based browsers so that browser controls behave as they do in all other browsers.
In our RAP application, we have several use cases for editing and checking documents. Servlets intended for this purpose are opened in browser controls (iframes). The documents are typically longer and do not fit on one screen, so they are rendered with scrollbars. If you have several tabs with such iframes and switch from one to another, the previously displayed iframe is hidden with display:none.
A Chromium bug occurs here, which causes the hidden iframe to lose its scroll position information. Unfortunately, the bug report has been open for a long time and it seems unclear whether this bug will ever be fixed.
However, a comment mentions as a workaround that visibility:hidden could be used instead of display:none so that the scroll position is retained.
We would therefore like to suggest implementing this workaround in RAP, possibly as an option, so that browser controls behave in the same way in all common browsers regarding scroll positions.
The text was updated successfully, but these errors were encountered: