Skip to content

Commit

Permalink
fix state reset in search
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Aug 18, 2024
1 parent 31e17c4 commit 4d9b581
Show file tree
Hide file tree
Showing 4 changed files with 211 additions and 226 deletions.
24 changes: 2 additions & 22 deletions calcit.cirru

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions compact.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -2714,8 +2714,7 @@
do
d! $ :: :analyze/use-import-def target
d! cursor initial-state
do (d! :writer/select target)
d! cursor $ {} (:query |) (:position 0)
do (d! :writer/select target) (d! cursor initial-state)
(= keycode/up code)
do (.!preventDefault event)
if
Expand All @@ -2724,7 +2723,7 @@
(= keycode/escape code)
do
d! $ :: :router/change (:: :editor)
d! cursor $ {} (:query |) (:position 0)
d! cursor initial-state
(= keycode/down code)
do (.!preventDefault event)
if
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
"copy-text-to-clipboard": "^3.2.0",
"feather-icons": "^4.29.1",
"url-parse": "^1.5.10",
"vite": "^5.2.8"
"vite": "^5.2.9"
},
"dependencies": {
"@calcit/procs": "^0.8.50",
"chalk": "^5.3.0",
"dayjs": "^1.11.10",
"gaze": "^1.1.3",
"latest-version": "^9.0.0",
"nanoid": "^5.0.6",
"nanoid": "^5.0.7",
"ws": "^8.16.0"
}
}
Loading

0 comments on commit 4d9b581

Please sign in to comment.