File tree Expand file tree Collapse file tree 1 file changed +0
-30
lines changed
frontend/src/features/crawl-workflows Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -267,36 +267,6 @@ export class WorkflowTagFilter extends BtrixElement {
267
267
268
268
this . selected . set ( value , checked ) ;
269
269
} }
270
- @keydown =${ ( e : KeyboardEvent ) => {
271
- if ( ! this . checkboxes . length ) return ;
272
-
273
- // Enable focus trapping
274
- const options = Array . from ( this . checkboxes ) ;
275
- const focused = options . findIndex ( ( opt ) => opt . matches ( ":focus" ) ) ;
276
-
277
- switch ( e . key ) {
278
- case "ArrowDown" : {
279
- e . preventDefault ( ) ;
280
- options [
281
- focused === - 1 || focused === options . length - 1
282
- ? 0
283
- : focused + 1
284
- ] . focus ( ) ;
285
- break ;
286
- }
287
- case "ArrowUp" : {
288
- e . preventDefault ( ) ;
289
- options [
290
- focused === - 1 || focused === 0
291
- ? options . length - 1
292
- : focused - 1
293
- ] . focus ( ) ;
294
- break ;
295
- }
296
- default :
297
- break ;
298
- }
299
- } }
300
270
>
301
271
${ repeat (
302
272
opts ,
You can’t perform that action at this time.
0 commit comments