wix / wix/react-native-ui-lib

v8 adds weird spacing to DateTimePicker spinner dialog

Open
#3,927 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
7.2k
Forks
748
Avg merge
2d 18h
Merged PRs (30d)
1

Description

Description

v8 changed something with the DateTimePicker positioning. That causes weird UI when using DateTimePicker with default settings.

Related to
  • Components
  • Demo
  • Docs
  • Typings
Steps to reproduce

Just use a DateTimePicker in an app that is nested in a SafeAreaProvider.

Expected behavior

Pre 8.0 it was properly aligned with no gap at the bottom.

Actual behavior

bottom gap for DateTimePicker spinner UI on iOS.
Tested on iPhone 17 Pro Max Simulator.

More Info

Code snippet

<DateTimePicker />

Screenshots/Video

8.0.0 - 8.3.1:

Image

7.46.3:

Image
Environment
  • React Native version: 0.81.5
  • React Native UI Lib version: 8.3.1
Affected platforms
  • Android
  • iOS
  • Web

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the DateTimePicker spinner behavior on iOS inside a SafeAreaProvider using the provided snippet, comparing versions 8.0.0–8.3.1 with 7.46.3. Done means the default spinner dialog has no bottom gap and remains properly aligned on iOS.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, react-native, typescript
Domain
frontend, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.