Fixed Warn member: "fitHeight" problem with the conversation message textarea

Steffen

Well-known member
Affected version
2.0.6
Open the form where you can warn a member. Choose a warning type with a default conversation text that doesn't fit into the initially visible conversation message textarea.

The default conversation text is inserted into the textarea. But the textarea doesn't auto-expand to the required height (and there isn't a scrollbar visible either). It auto-expands as soon as you type a character into the textrea.
 
It should auto-expand on focus too, though we've also added some code now to fire the initialization of the textarea handler when the control:enabled / control:disabled events are fired (these are the events we fire when the disabler system shows/hides enables/disables fields) so it should init as soon as you choose a warning type.
 
Thank you for reporting this issue. The issue is now resolved and we are aiming to include that in a future XF release (2.0.12).

Change log:
When form filling, if the control is a textarea with a textarea-handler, trigger its update method to ensure the textarea is resized appropriately.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Top Bottom