Skip to content

🚀 - Add closable: boolean DI-option for DropdownMobile #13167

@n1k1t0ss

Description

@n1k1t0ss

Description

In tuiDropdownMobile example, https://taiga-ui.dev/components/input-chip#mobile I noticed, that the "swipe down" gesture closes the dropdown. From what I understand, this happens because the mobile dropdown is implemented using a full-screen sheet (like a notification shade), and swiping down closes the sheet. The problem arises when there are many items — during list scrolling, the swipe-down gesture often triggers unintentionally, closing the dropdown unexpectedly. Perhaps an option should be added to disable closing the dropdown via the "swipe down" gesture, since this behavior isn't always desired.

input-chip-mobile-dropdown-closed.mp4

Here is an example, how this gesture works for sheet, and (doesn'tworks) for full-screen view:

input-chip-mobile-dropdown-closed-example.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions