You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that font related styles from the visible input were not being properly copied to the hidden div used for calculating the size. This was causing the size of the input to be incorrect (too large), as the font-size of the div was larger than that of the input.
After changing this line to return when the compoennt is NOT mounted it seemed to fix the issue
e.g. if (!this.mounted || !window.getComputedStyle) {
The text was updated successfully, but these errors were encountered:
I noticed that font related styles from the visible input were not being properly copied to the hidden div used for calculating the size. This was causing the size of the input to be incorrect (too large), as the font-size of the div was larger than that of the input.
After changing this line to return when the compoennt is NOT mounted it seemed to fix the issue
e.g.
if (!this.mounted || !window.getComputedStyle) {
The text was updated successfully, but these errors were encountered: