Open bwajtr opened 1 year ago
This is caused by the field highlighter setting overflow: visible
on the <vaadin-input-container>
element.
Can be reproduced without CollaborationBinder
by doing textArea.getElement().executeJs("customElements.get('vaadin-field-highlighter').setUsers(this, [])");
Can be worked around by manually changing the style after configuring the binder.
textArea.getElement().executeJs("this._inputField.style.overflow='auto'");
Thank you for the solution but is it possible to keep the highlight of the field ?
Describe the bug When I bind TextArea to the CollaborationBinder, and I set a tall text into it, it does not use the scrollbar at all but instead overflows into other components. No other (collaborating) user is necessary to reproduce this - it happens right after the page refresh - you only have to set a tall enough text to the TextArea,
To Reproduce Steps to reproduce the behaviour:
Expected behavior I expect TextArea to behave the same way as when a normal binder is used with it -> to use scrollbars for tall texts.
Screenshots
Versions