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
Likely all, but tested on an Emulator with Android 11
Describe the Bug:
When using RibbonView in e.g. a RecyclerView, clicking on an item in the RecyclerView, and then returning to the RecyclerView after a few times the position of the ribbon will change.
The likely reason for this is a missing check in onLayout(changed: Boolean, ...) whether the layout actually did change. Only then the rotation code should be applied which also changes x/y values of the View.
I'll provide a PR with a fix.
Expected Behavior:
Postition of the ribbon always stays stable.
The text was updated successfully, but these errors were encountered:
Please complete the following information:
Describe the Bug:
When using RibbonView in e.g. a RecyclerView, clicking on an item in the RecyclerView, and then returning to the RecyclerView after a few times the position of the ribbon will change.
The likely reason for this is a missing check in
onLayout(changed: Boolean, ...)
whether the layout actually did change. Only then the rotation code should be applied which also changes x/y values of the View.I'll provide a PR with a fix.
Expected Behavior:
Postition of the ribbon always stays stable.
The text was updated successfully, but these errors were encountered: