mui / mui/material-ui

iOS Safari Change Tabs Swipe Gesture Affects `Modal` Component

Open
#42,229 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

browser: Safari customization: css scope: drawer
Dominant language
JavaScript
Stars
99.1k
Forks
32.5k
Avg merge
2d 17h
Merged PRs (30d)
106

Description

Steps to reproduce

Minimal example code:

export default function App() {
  return (
    <SwipeableDrawer
      SlideProps={{
        sx: {
          height: "61.8%",
        },
      }}
      anchor="bottom"
      onOpen={() => {}}
      open
    >
      asdf
    </SwipeableDrawer>
  );
}
Your environment

iOS Version: 16.6.1
Model Name: iPhone 12 Pro Max

Search keywords: Style CSS JS Bleed

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 with the minimal SwipeableDrawer example on iOS Safari and inspect the SwipeableDrawer and Modal entry points mentioned by the report. Reproduce the tab-swipe interaction with the bottom drawer open, then verify that the browser gesture no longer affects the component.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.