maxs15 / maxs15/react-native-modalbox

set center relative to window height instead of relative to document height

Open
#207 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
2.9k
Forks
496
PR merge metrics
No merged PRs in 30d

Description

I am using this plugin with react native web.
I have issue when i have long page, the center position box is relative to document height.
It cause a bug cause when the user should see the popup he stay on the bottom of the page.
How can i set the popup to be relative to window height?

Contributor guide

No contributing guide indexed for this repository

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 popup positioning problem on a long page with react-native-web, then inspect the modal centering and positioning entry points. Done means the popup is centered relative to the visible window height rather than the full document height.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
frontend, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.