Skip to content

Commit b1ca8d7

Browse files
authored
Merge pull request #780 from ethereum/VIPFocus
focus on File explorers on deactivate from vertical icons panel
2 parents c6898f1 + 4026baa commit b1ca8d7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/remix-ide/src/app/components/vertical-icons.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,9 @@ export class VerticalIcons extends Plugin {
229229
actions.Deactivate = () => {
230230
// this.call('manager', 'deactivatePlugin', name)
231231
this.appManager.deactivatePlugin(name)
232+
if (e.target.parentElement.classList.contains('active')) {
233+
this.select('fileExplorers')
234+
}
232235
}
233236
}
234237
const links = {}

0 commit comments

Comments
 (0)