The solution provided by @intregal is correct.
However, we do not consider it as a bug. By default, it is expected that an input will take the size form the height
and width
properties. inputHeight
is an extra setting for dividing the size of the widget from the size of an input rendered in it.
Thus, when the invalidMessage
pops up, it triggers resize of the parent layout and all components nested in it will fit the new size. Still, inputHeight
has to be set additionally to preserve the precise height of the input regardless of real component’s height.