-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Description
Is your feature request related to a problem? Please describe.
The problem is that each element may have a different preference as to whether or not to close via backdrop.
For example in my case I have this need:
SmartSelectmust not close via backdrop;Photobrowsermust be able to close via backdrop;Popupmust not close via backdrop;
With this configuration it is not possible to use the options present now (configuration from the app / component configuration on the page)
The simplest solution is to add the ability to change the parameter for each component that uses it.
Example:
$f7.photoBrowser.create({
photos: [{
url: 'photo1'
}],
type: 'popup'
popupOptions: {
closeByBackdropClick: true
}
}).open();
Or in app config
photoBrowser: {
type: 'popup',
popupOptions: {
closeByBackdropClick: true
}
}
This problem can be extended to any component that uses another component with options like this.
Metadata
Metadata
Assignees
Labels
No labels