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

Bug with Sheet on Svelte #4100

Closed
AlexRMU opened this issue Nov 23, 2022 · 1 comment
Closed

Bug with Sheet on Svelte #4100

AlexRMU opened this issue Nov 23, 2022 · 1 comment

Comments

@AlexRMU
Copy link

AlexRMU commented Nov 23, 2022

Describe the bug

If you open and close the sheet using a bind, everything does not work as expected.
When opened, the entire sheet opens, along with the step, and after closing, the value of the opened does not change and it cannot be reopened.
If you remove style="height: auto;", the sheet will open and close normally, but it will not be possible to scroll through and open step.
No closing events are triggered.

To Reproduce

Steps to reproduce the behavior:

  1. Click "OPEN"
  2. Close the sheet
  3. Repeat

Expected behavior

The state of the sheet is managed using a bind and works fine. Step works as it should.

Actual Behavior

Sheet does not work as expected.

Additional context

I think the problem is simultaneous swipeToClose and bind:opened. Individually, everything works as it should.

@AlexRMU
Copy link
Author

AlexRMU commented Nov 24, 2022

Also, the sheet does not open if you do sheet.instance().opened = true, only with sheet.instance().app.sheet.open(sheet.instance().el)

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