Skip to content

Commit f20153a

Browse files
ioedeveloperyann300
authored andcommitted
Disable auto-focus on compilation finished.
1 parent 7ce8812 commit f20153a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

libs/remix-ui/run-tab/src/lib/components/contractDropdownUI.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,7 @@ export function ContractDropdownUI (props: ContractDropdownProps) {
102102
const contract = contracts.find(contract => contract.alias === selectedContract)
103103

104104
if (!selectedContract || !contract) setSelectedContract(contracts[0].alias)
105-
contractsRef.current.focus()
106-
setTimeout(() => {
107-
contractsRef.current.blur()
108-
}, 1000)
105+
// TODO highlight contractlist box with css.
109106
}
110107
}
111108

0 commit comments

Comments
 (0)