This is basically my component of a sheet modal:
<f7-sheet swipe-to-close backdrop
:breakpoints="breakpointsAvailable"
@sheet:open="handleOpening"
@sheet:close="handleClosing"
@sheet:breakpoint="handleBreakpointChange">
As we can see, breakpoints are binded from a computed breakpointsAvailable
const breakpointsAvailable = computed(() => { ... });
// return [0.2, 0.5, 1];
Sometimes based on the computed logic, this return can be: [0.5, 1]
;
So the 0.2 shouldn’t be available anymore… But it is, as the sheet-modal respects the initial value set.
Does anyone know if it’s possible to refresh the sheet setup without destroying it?