Handling Scroll Conflicts in Mini-Program Modal Overlays
When implementing modal dialogs in mini-programs, a common issue arises where both parent and child containers feature scrlolable areas, leading to conflicting scroll behaviors. This can result in an undesirable user experience where scrolling affects multiple layers simultaneously.
The solution involves controlling scroll behavior through dyna ...
Posted on Thu, 06 Aug 2026 16:06:45 +0000 by joshmmo
Preventing Fabric.js Objects from Changing Z-Index During Selection
When managing multiple layers within a Fabric.js canvas, the default interaction model immediately brings the active element to the foreground. This means that if a lower-layer object is selected, it visually jumps above overlapping elements until it is deselected, at which point it returns to its original stacking order. While this helps in id ...
Posted on Wed, 01 Jul 2026 17:27:36 +0000 by Jay