You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using breakpointsBase: 'container', the container element will be used as the size reference.
In our situation, we need the swipes per slide to change based on the size of a parent higher up the DOM tree.
Suggested solution
I suggest allowing the setting of breakpointsBase as a DOM element or a CSS selector. This would make it much more flexible. Or we can have a separate parameter like breakpointBaseContainer when breakpointsBase is container.
Clear and concise description of the problem
When using
breakpointsBase: 'container'
, the container element will be used as the size reference.In our situation, we need the swipes per slide to change based on the size of a parent higher up the DOM tree.
Suggested solution
I suggest allowing the setting of
breakpointsBase
as a DOM element or a CSS selector. This would make it much more flexible. Or we can have a separate parameter likebreakpointBaseContainer
whenbreakpointsBase
iscontainer
.Alternative
No response
Additional context
No response
Validations
Would you like to open a PR for this feature?
The text was updated successfully, but these errors were encountered: