react-navigation icon indicating copy to clipboard operation
react-navigation copied to clipboard

Native Modal is jumping when dragging up on iOS

Open denissdubinin opened this issue 3 years ago • 5 comments

Current behavior

I use native stack with presentation: 'modal' option. When dragging modal up, it jumps at the bottom once I release. It works fine compared to native iOS applications.

If I switch to @react-navigation/stack (not native) there is no such issue.

Video: Actual issue is at the bottom. Screen Recording 2022-10-01 at 23 53 05

Expected behavior

Comparing to iOS calendar app: Screen Recording 2022-10-01 at 23 53 48 Compared

Reproduction

Platform

  • [ ] Android
  • [X] iOS
  • [ ] Web
  • [ ] Windows
  • [ ] MacOS

Packages

  • [X] @react-navigation/​bottom-tabs
  • [ ] @react-navigation/​drawer
  • [ ] @react-navigation/​material-bottom-tabs
  • [ ] @react-navigation/​material-top-tabs
  • [ ] @react-navigation/​stack
  • [X] @react-navigation/​native-stack

Environment

  • [x] I've removed the packages that I don't use
package version
@react-navigation/native 6.0.13
@react-navigation/bottom-tabs 6.4.0
@react-navigation/native-stack 6.9.0
react-native-safe-area-context 4.2.5
react-native-screens 3.17.0
react-native-reanimated 2.8.0
react-native 0.68.1
npm or yarn yarn

I am able to reproduce on difference iOS and difference devices.

denissdubinin avatar Oct 01 '22 23:10 denissdubinin

Hey! Thanks for opening the issue. The issue doesn't seem to contain a link to a repro (a snack.expo.dev link, a www.typescriptlang.org/play link or link to a GitHub repo under your username).

Can you provide a minimal repro which demonstrates the issue? Please try to keep the repro as small as possible and make sure that we can run it without additional setup.

A repro will help us debug the issue. The issue will be closed automatically after a while if you don't provide a repro.

github-actions[bot] avatar Oct 01 '22 23:10 github-actions[bot]

Hello 👋, this issue has been open for more than a month without a repro or any activity. If the issue is still present in the latest version, please provide a repro or leave a comment within 7 days to keep it open, otherwise it will be closed automatically. If you found a solution or workaround for the issue, please comment here for others to find. If this issue is critical for you, please consider sending a pull request to fix it.

github-actions[bot] avatar Nov 01 '22 02:11 github-actions[bot]

still relevant

denissdubinin avatar Nov 01 '22 04:11 denissdubinin

Repro (try on iOS): https://snack.expo.dev/@meyer9/native-modal-reproduction-case

meyer9 avatar Nov 11 '22 15:11 meyer9

Anything new about this?

BerkeAras avatar Oct 03 '24 15:10 BerkeAras