Repository navigation
OpenVue 1.2.0 makes MultiSelect, Listbox and AutoComplete fast with very large lists, lets dropdowns hold other overlays in their header and footer, and keeps submenus open while you move the mouse towards them. It also fixes several Slider, InputNumber and keyboard issues.
All OpenVue packages are released together under this version.
Upgrade notes
Most apps need no changes. Two less common patterns behave differently:
Listbox,MultiSelectandAutoCompletewithmultiple: if you keep the selected values in ashallowReformarkRawarray and change it in place (for example withpush), the component won't see the change. Replace the array instead:selected.value = [...selected.value, item]. The same applies to theoptionsarray forMultiSelectchip labels. Arrays in areforreactivework as before. (#560, #64, #728)Chart: if you change the chart instance directly throughgetChart()or theloadedevent, callchart.update()afterwards. Updating thedataandoptionsprops works as before. (#306)
Highlights
Large selections
Listbox, MultiSelect and AutoComplete used to compare every option against every selected value on each render, so they slowed down as the selection grew. They now look selected values up directly. Selecting all of 100,000 options in MultiSelect no longer freezes the page, and chip labels no longer scan the whole option list.
If v-model holds objects, set optionValue or dataKey to get the full speedup. The Listbox docs now cover this, along with how to update the options and selected values arrays. (#560, #64, #728)
Overlays inside overlays
Select, MultiSelect, AutoComplete, CascadeSelect, TreeSelect and DatePicker now work with another overlay, such as a Select, DatePicker or Popover, in their header or footer slot. Picking a value in the inner overlay keeps the outer panel open, and a click outside closes the inner overlay first. The outer panel also closes on an outside click while it contains an expanded Panel or Accordion. (#571, #719, #720, #731, #733, #736)
Submenus
TieredMenu, ContextMenu, Menubar and MegaMenu keep the open submenu while the mouse moves diagonally towards it. Previously, passing over neighbouring items on the way opened their submenus instead. (#60)
Fixes
Slidersnaps to the nearest step, so the first and last steps are easy to reach.PageUpandPageDownmove by ten steps, and it emits only when the value changes. (#633)InputNumberaccepts digits in the locale's own numbering system, such as Persian digits withlocale="fa-IR", and no longer drops the digit 1 in those locales. (#197)InputNumberincurrencymode reads typed numbers correctly when the currency symbol contains a dot. Typing 2 withAEDandlocale="ar-AE"used to give 200. (#257, #267)InputOtphandles theDeletekey: it removes the character in the current field, keeps the focus there and moves the following characters back, so pressing it again keeps deleting. (#529)TreeSelectcloses on the first outside click after you click its header, footer or empty message. It used to need a second click. (#735)Chartno longer keeps the CPU busy with a stacked chart andparsing: false. (#306)TabListno longer throws an error when its state changes after it is unmounted. (#723)Passwordpasses automated accessibility checks such as axe. Its input no longer setsaria-expanded, and the strength overlay no longer hasrole="dialog". (#132)
Updating
Update openvue and every @openvue/* package in your project to 1.2.0.
Full changelog: CHANGELOG.md · Compare 1.1.1...1.2.0