-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
RTE expands infinitely when not on the initial view #16829
Comments
Hi there @MarkMcDonald! Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better. We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.
We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions. Thanks, from your friendly Umbraco GitHub bot 🤖 🙂 |
I have managed to determine this is something to do with the custom styles applied to the editor (bootstrap based), possibly interacting with the TinyMCE autoresize which I presume is used, but not exactly what. Why it only occurs in secondary tabs I don't know. It is a shame as it wasn't previously an issue in Umbraco 11, but I assume it is more an upgraded TinyMCE issue that Umbraco one. |
Issue seems to be caused by the having the following style rule in the stylesheet used for TinyMCE
I think there may be a race condition in TinyMCE with the autoresize functionality and the data-mce-style attribute which then looks to set min-height: 0px Best guess is that it only applies when switching tab as autoresize may normally wait for some page loading event, which would have all already fired when changing tabs. |
Hi @MarkMcDonald 👋 Thanks for reaching out! Unfortunately, I wasn't able to reproduce this on Umbraco 13.4.1. Can you see the video below and let me know if I am missing something? RTE.mov |
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
13.4.1
Bug summary
I have just upgrade from Umbraco 11 to 13.4.1. In the backoffice now if I have a RTE on a idfferent tab to the default, or move from Child Items -> Content and it has a RTE on, the RTE starts expanding down the screen.
Specifics
It does this on any page where there is a RTE not on the default view, i.e. having to tab through.
It does this regardless of if there is any content populated or not.
Steps to reproduce
Umbraco-RTE-bug.mp4
Expected result / actual result
It doesn't scroll when it doesn't need to expand to fit the content.
The text was updated successfully, but these errors were encountered: