Open vasanth15 opened 4 years ago
Good morning, Dev Express! 9 months later and no reactions. If you have left this repo - just tell us!
I am experiencing this bug as well.
I believe the bug is rooted in this line here:
The getBounds()
call uses HTMLElement.offsetWidth
, which can be 0
if the element is hidden by some ways.
Because the element is hidden, when it initializes the editor sets itself to a fixed size of zero. I'm kind of surprised that HtmlEditorExtender
sets itself to a fixed size and is never updated.
The AJAX Control Toolkit \<20.1.0>
The installation method
Minimal steps to reproduce the bug
CssStyle of panel:
HTML code:
if .auto-panel_property is modified to block, the rendering is fine but again, making it hidden through javascript on page load makes the user experience bit clumsy.
Actual result
The size of HtmlEditorExtender loses size when panel display property is set to none when page loads.
Expected result
The size of HtmlEditorExtender should retain shape irrespective of the panel display property.
Browser(s) used
Fails on chrome, edge.
A site deployment method