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
My modal is vibrating horizontally by 1 pixel, similar to #1681
In the modal component onContentMeasure code I added a log statement: console.log("onContentMeasure", contentFrame)
In the bindToWindow of MeasureElement I added console.log("bindToWindow", frame,window)
It seems like UIManager is continuously looping between two values, but I cannot figure out why.
It only happens in some cases, depending on the width of the content of the modal. Most of the times my modal is shown correctly. I've seen the same issue also with a modal vibrating vertically.
To Reproduce
I am not able to reproduce this in a snack yet, once I do I will update the issue.
Expected behavior
Link to runnable example or repository (highly encouraged)
Edit: Came across a modal that did horizontal vibration. This was not solved using floor, but only using round. So using round for height and floor for width now. Not sure if that will cover all cases.
🐛 Bug Report
My modal is vibrating horizontally by 1 pixel, similar to #1681
In the modal component
onContentMeasure
code I added a log statement:console.log("onContentMeasure", contentFrame)
In the
bindToWindow
ofMeasureElement
I addedconsole.log("bindToWindow", frame,window)
This gives me
It seems like UIManager is continuously looping between two values, but I cannot figure out why.
It only happens in some cases, depending on the width of the content of the modal. Most of the times my modal is shown correctly. I've seen the same issue also with a modal vibrating vertically.
To Reproduce
I am not able to reproduce this in a snack yet, once I do I will update the issue.
Expected behavior
Link to runnable example or repository (highly encouraged)
UI Kitten and Eva version
Environment information
The text was updated successfully, but these errors were encountered: