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
Describe the bug
In our environment, we use iframeResizer to embed snippets in the UI. Sometimes the height calculated with "taggedElement" is a fractional number, e.g. 89.5px.
Whenever the host instance receives the message, it parses the value using the parseInt, so the 89.5px transforms to 89px. In case the content has a border, the bottom part is hidden.
Expected behavior
Host uses parseFloat
Screenshots
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Hi @davidjbradshaw. Thanks for the quick reply.
I try to push a commit to a separate branch but receive rejection due to the lack of access rights.
Would you prefer to have an IDEA-based patch?
Describe the bug
In our environment, we use iframeResizer to embed snippets in the UI. Sometimes the height calculated with "taggedElement" is a fractional number, e.g. 89.5px.
Whenever the host instance receives the message, it parses the value using the parseInt, so the 89.5px transforms to 89px. In case the content has a border, the bottom part is hidden.
Expected behavior
Host uses parseFloat
Screenshots
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: