Skip to content

Bug with Sheet on Svelte  #4100

@AlexRMU

Description

@AlexRMU

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions