File tree Expand file tree Collapse file tree
src/frontend/src/routes/(new-styling)/recovery-phrase Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 import { t } from " $lib/stores/locale.store" ;
55 import { nonNullish } from " @dfinity/utils" ;
66
7- const handleKeyDown = (event : KeyboardEvent , currentTabIndex : number ) => {
7+ const handleKeyDownInput = (
8+ event : KeyboardEvent ,
9+ currentTabIndex : number ,
10+ ) => {
811 if (event .key === " Enter" || event .key === " " ) {
912 event .preventDefault ();
1013 const nextTabIndex = currentTabIndex + 1 ;
4144 type =" text"
4245 id ={` recovery-phrase-${i } ` }
4346 tabindex ={i + 1 }
44- on:keydown ={(e ) => handleKeyDown (e , i + 1 )}
47+ on:keydown ={(e ) => handleKeyDownInput (e , i + 1 )}
4548 class =" peer text-text-primary ring-border-secondary focus:ring-border-brand h-8 w-full rounded-full border-none bg-transparent pl-10 text-base ring outline-none ring-inset focus:ring-2"
4649 />
4750 <!-- Left slot -->
You can’t perform that action at this time.
0 commit comments