-
Notifications
You must be signed in to change notification settings - Fork 53
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
Swap Positions when pressed below mid screen #132
Comments
@nandorojo if you could give quick help here |
Hey can you please format this code better? I can't see it at all |
Also please explain clearly what you expect vs what actually happens |
I expect the reactions to always show above the message and the menu with the reply etc below the message, but when I press them and they are lower in the view they get on top of each other like on the screenshot
|
What if you try these props? (You’ll need to rename some) verticalAnchorPosition: 'automatic',
horizontalAlignment: isMe ? 'targetTrailing' : 'targetLeading',
marginVerticalInner: 10,
anchorPosition: 'automatic',
transitionConfigEntrance: {
mode: 'syncedToMenuEntranceTransition',
shouldAnimateSize: true,
},
transitionExitPreset: {
mode: 'zoomAndSlide',
zoomOffset: 0.8,
slideOffset: -20,
}, |
If I change to automatic they still swap positions but dont overlap The reaction just stays below the message and vice-versa |
And hw wont even run If I put some of the props you gave me |
Hey please don't frequently tag here, keep in mind it's open source |
Okay so I think the issue here is that iOS automatically does this for you. I don't think there's a way around it actually... |
I wonder if there is an example of what you want working on the upstream |
It works fine if I remove the ContextMenu.Preview, the problem is that in certain parts of the screen the Content swaps positions, so my reactions stay on correct place, but the group goes above the reactions
The text was updated successfully, but these errors were encountered: