Skip to content
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

backdrop issue #190

Open
gimso2x opened this issue Feb 11, 2025 · 0 comments
Open

backdrop issue #190

gimso2x opened this issue Feb 11, 2025 · 0 comments

Comments

@gimso2x
Copy link

gimso2x commented Feb 11, 2025

env : react19, next15

 <Sheet
      className="bottom_sheet"
      isOpen={isOpen}
      onClose={close}
      detent="content-height"
    >
      <Sheet.Container>
        <Sheet.Content>
          {children}
        </Sheet.Content>
      </Sheet.Container>
     <Sheet.Backdrop onTap={close} 
    </Sheet>
  );

If there is <Sheet.Backdrop>, the content height is not calculated properly, so it does not work properly
If you don't have <Sheet.Backdrop>, it works fine, is there a way to solve it?

react-modal-sheet-container - css

  • When there's <Sheet.Backdrop>
    Image

  • When you don't have <Sheet.Backdrop>

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant