Unplanned
Last Updated: 22 Feb 2023 15:46 by Paweł Korczak
Paweł Korczak
Created on: 22 Feb 2023 15:46
Category: TextArea
Type: Feature Request
0
Improve applying attributes to elements generated by widgets.

Currently, attributes of an initial element are copied to a dynamically created outer element. This behavior is common for widgets from the "Editors" group (and not only). This causes multiple confusing results as applying styles or classes to the outer and inner elements at the same time. For example in this Dojo sample, when width or height is defined by percentage units, this causes a broken appearance.

Consider removing such attributes from the initial element and keeping them only on the generated outer one. A similar issue is caused when a custom class is applied to the initial element. The class is applied to both elements (outer and inner), so an additional selector should be used to target an exact element.

0 comments