What’s New in Layui v2.9.7? Detailed Component Updates and Fixes
Layui v2.9.7 introduces new attributes and options across its select, table, layer, laydate, dropdown, and flow components, fixes several bugs such as column‑dragging and auto‑height issues, and includes miscellaneous improvements like Unicode source conversion, making the lightweight UI library even more practical for fast web development.
Layui
Layui is a free open‑source web UI component library that follows a lightweight modular specification and native HTML/CSS/JavaScript development patterns, making it extremely easy to pick up and use out of the box. Its minimalist yet elegant design, down to the documentation, is crafted for rapid web‑page construction.
Unlike many mainstream front‑end frameworks, Layui does not rely on complex build tools; it embraces a pragmatic approach where developers work directly in the browser, assembling elements and interactions with minimal overhead.
Changelog (v2.9.7)
select
Added lay-creatable attribute to allow creation of new options when search is enabled (issue #1618, contributed by @Sight-wcg).
table
Fixed the issue where column width could still be dragged after disabling column‑dragging (issue #1591, @Sight-wcg).
layer
Added transition effect for overlay layers (issue #1616, @Sight-wcg).
Fixed incorrect content‑area height when popup height is set to auto and then restored (issue #1617, @Sight-wcg).
Optimized minor width/height discrepancies after maximizing and then restoring a window (issue #1653, @Sight-wcg).
laydate
Added support for showing/hiding the time picker based on the format pattern (issue #1656, @Sight-wcg).
dropdown
Added close option to trigger a callback when the dropdown panel is closed (issue #1605, @Sight-wcg).
flow
Added direction option to set the loading direction (issue #1638, @Sight-wcg).
Other
Modified source Unicode encoding conversion to Chinese characters (issue #1600, @Sight-wcg).
Open Source Tech Hub
Sharing cutting-edge internet technologies and practical AI resources.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
