Bootstrap 3 cleanup from the IDE page - #2 (#24175)

* Remove skipLoadingStyleSheet

* Remove unused bootstrap-5 assignment from the Account settings page since it's archived

* Remove bsVersionIcon

* Remove bsVersion, bootstrapVersion and isBootstrap5 from elements on the IDE page

* Remove BS3Dropdown from the context menu

* Cleanup Bootstrap 3 related comment and type

GitOrigin-RevId: a67244eb78943ee84cc5f89bae164c0361e8fc13
This commit is contained in:
Rebeka Dekany
2025-03-11 09:05:00 +00:00
committed by Copybot
parent 6a344c7a52
commit 69bc8a135b
15 changed files with 16 additions and 134 deletions
@@ -1,6 +1,5 @@
import React, { useEffect, useRef } from 'react'
import ReactDOM from 'react-dom'
import { Dropdown as BS3Dropdown } from 'react-bootstrap'
import {
Dropdown,
DropdownMenu,
@@ -48,7 +47,7 @@ function FileTreeContextMenu() {
// A11y - Close the context menu when the user presses the Tab key
// Focus should move to the next element in the filetree
function handleKeyDown(event: React.KeyboardEvent<BS3Dropdown | Element>) {
function handleKeyDown(event: React.KeyboardEvent<Element>) {
if (event.key === 'Tab') {
close()
}