bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Feature Suggestion: Add Support to Disable Closing on Backdrop Click

Open arthurrochamoreira opened this issue 1 year ago • 1 comments

Prerequisites

Proposal

Description: This issue proposes adding a new configuration option to the Offcanvas component, allowing developers to disable the automatic closing of the offcanvas when a user clicks on the backdrop.

Suggested Feature: Disable Closing on Backdrop Click: Description: Currently, the offcanvas automatically closes when the user clicks on the backdrop surrounding it. This new option would allow developers to disable this behavior.

Expected Behavior: A new option, closeOnBackdropClick, could be added to the offcanvas configuration. If set to false, the offcanvas would remain open even when the user clicks on the backdrop.

Motivation and context

Motivation: This feature provides more control over the offcanvas behavior, particularly in situations where accidental closure should be prevented, such as with complex forms or when displaying critical information.

arthurrochamoreira avatar Aug 12 '24 19:08 arthurrochamoreira

previously discussed, fix here: https://github.com/lllyasviel/stable-diffusion-webui-forge/issues/889#issuecomment-2257289510

DenOfEquity avatar Aug 13 '24 16:08 DenOfEquity