But, because of the "transform" style set by muuri, i cannot open it in fullscreen.
So, i created 2 events in my code to disable "transform" style only when fullscreen mode is activated
if (!this.isEmpty(this._fullscreenOpenerItem)) {
this._fullscreenOpenerItem.item.style.transform = this._fullscreenOpenerItem.transformValue;
}
But even with that, the fullscreen mode doesn't work.
I think that Muuri takes it as a change in size and therefore restarts the calculation automatically and will set the "transform" again after my modification.
How can I force muuri not to restart the calculation in this specific case?
I try to display one item on the grid in fullscreen by clicking on a button.
To do that i add css styles to the item that i want to open in fullscreen :
But, because of the "transform" style set by muuri, i cannot open it in fullscreen. So, i created 2 events in my code to disable "transform" style only when fullscreen mode is activated
But even with that, the fullscreen mode doesn't work. I think that Muuri takes it as a change in size and therefore restarts the calculation automatically and will set the "transform" again after my modification.
How can I force muuri not to restart the calculation in this specific case?