🐛 Fix incorrect value coercing on legacy select component (#7710)
Some checks failed
Commit Message Check / Check Commit Message (push) Has been cancelled

on managing values with select
This commit is contained in:
Andrey Antukh
2025-11-07 13:16:39 +01:00
committed by GitHub
parent e3cf70d3a8
commit 604f6ca024
2 changed files with 3 additions and 2 deletions

View File

@@ -77,6 +77,7 @@
- Fix problem when checking usage with removed teams [Taiga #12442](https://tree.taiga.io/project/penpot/issue/12442)
- Fix focus mode persisting across page/file navigation [Taiga #12469](https://tree.taiga.io/project/penpot/issue/12469)
- Fix shadow color validation [Github #7705](https://github.com/penpot/penpot/pull/7705)
- Fix exception on selection blend-mode using keyboard [Github #7710](https://github.com/penpot/penpot/pull/7710)
## 2.10.1

View File

@@ -89,14 +89,14 @@
(let [value (rotate-option-backward options index length)]
(swap! state* assoc :current-value value)
(when (fn? on-change)
(on-change (dm/str value))))
(on-change value)))
(or (kbd/right-arrow? e)
(kbd/down-arrow? e))
(let [value (rotate-option-forward options index)]
(swap! state* assoc :current-value value)
(when (fn? on-change)
(on-change (dm/str value))))
(on-change value)))
(or (kbd/enter? e)
(kbd/space? e))