-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[V2] Back icon and topBar button icon weird jumping #4870
Comments
#4875 Similar issue |
Maybe but I dont use custom components |
Experiencing the same on 0.59 and 2.16.0 |
Environment
Can confirm, experiencing the same problems with topBar icons and not with custom components. Here is a GIF I made to highlight the problem. BTW, the flashy red parts during this GIF is because of the video I made and not an issue with the app. I noticed the problem after I made the upgrade from RNN 2.12.0 to 2.16.0. |
It almost looks like it was an added animation that doesn't really render properly and is too short to work effectively in that space. That's just a guess. I can't figure out what the cause of it is. |
Still seeing this in v |
React button components now support overflow: visible. This property is especially useful when displaying buttons with a badge which exceeds the button bounds.
I've discovered whats causing buttons to jump weirdly, its this commit 54ff1cd Probably ActionMenuView has two phase positioning of its items and this "overflow" or clipChildren = false will display it's flaw. I will probably make my own fork of this lib and remove this line because I don't need badges or other views in my top bar buttons, but its not universal solution. It would be great to have some official support from the guy that made that commit @guyca to discuss it. Unfortunately, Back/Up icon still makes title to jump, dont know whats causing that yet |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
The issue has been closed for inactivity. |
After removing |
Issue Description
I've migrated to v2 version of the lib and the topBar icons behave weird on Android. Up/back icon appears later than title of the screen which makes title jump to the right. TopBar buttons are animating from the top which is not a nice animation and also on less performant device this animation is laggy which make it really unpleasant. I've tried to disable all animations that I thought can affect this but nothing helped.
I dont think that I can release it this way to my users :( but I dont want to ditch X hours of work that I've put into migrating. Any idea whats going on and how to fix? Thanks!
Steps to Reproduce / Code Snippets / Screenshots
I have app with bottomTabs and some simple styling applied which I don't think matters. On the attached video is what i am talking about. I am clicking on the right top button and then clicking on back button from the next screen. When top button is clicked, it performs Navigation.pop() to the second screen. Back icon has default behavior.
Environment
The text was updated successfully, but these errors were encountered: