angular-gridster2 icon indicating copy to clipboard operation
angular-gridster2 copied to clipboard

Feature Request: Focus layer in multi layer

Open austenstone opened this issue 3 years ago • 0 comments

It would be nice to be able to display a specific layer at the top when using allowMultiLayer: true.

Today it's difficult to actually manage the items on different layers.

Maybe recalculate the z-index with something like

(item.layerIndex + this.gridster.$options.layerOffset) % this.gridster.maxLayerIndex

This way the zindex is relative to the current layer offset. You can move through layers by iterating layerOffset from 0 to maxLayerIndex.

References: Added allow widget in multiple layers #599

austenstone avatar Aug 27 '21 01:08 austenstone