mirror of
https://github.com/penpot/penpot.git
synced 2026-05-31 20:58:08 +00:00
Merge pull request #2730 from penpot/superalex-fix-enter-events
🐛 Fix enter events
This commit is contained in:
commit
333acacbbf
@ -36,6 +36,7 @@
|
|||||||
- Fix missing create component menu for frames [Github #2670](https://github.com/penpot/penpot/issues/2670)
|
- Fix missing create component menu for frames [Github #2670](https://github.com/penpot/penpot/issues/2670)
|
||||||
- Fix "currentColor" is not converted when importing SVG [Github 2276](https://github.com/penpot/penpot/issues/2276)
|
- Fix "currentColor" is not converted when importing SVG [Github 2276](https://github.com/penpot/penpot/issues/2276)
|
||||||
- Fix incorrect color in properties of multiple bool shapes [Taiga #4355](https://tree.taiga.io/project/penpot/issue/4355)
|
- Fix incorrect color in properties of multiple bool shapes [Taiga #4355](https://tree.taiga.io/project/penpot/issue/4355)
|
||||||
|
- Fix pressing the enter key gives you an internal error [Github 2675](https://github.com/penpot/penpot/issues/2675) [Github 2577](https://github.com/penpot/penpot/issues/2577)
|
||||||
|
|
||||||
### :arrow_up: Deps updates
|
### :arrow_up: Deps updates
|
||||||
|
|
||||||
|
|||||||
@ -84,9 +84,10 @@
|
|||||||
(dom/stop-propagation event)
|
(dom/stop-propagation event)
|
||||||
(st/emit! (modal/hide))
|
(st/emit! (modal/hide))
|
||||||
(on-accept props)))]
|
(on-accept props)))]
|
||||||
(->> (events/listen js/document EventType.KEYDOWN on-keydown)
|
(let [key (events/listen js/document EventType.KEYDOWN on-keydown)]
|
||||||
(partial events/unlistenByKey)))
|
(fn []
|
||||||
#(st/emit! (dd/clean-temp-shared)))
|
(events/unlistenByKey key)
|
||||||
|
(st/emit! (dd/clean-temp-shared))))))
|
||||||
|
|
||||||
[:div.modal-overlay
|
[:div.modal-overlay
|
||||||
[:div.modal-container.confirm-dialog
|
[:div.modal-container.confirm-dialog
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user