Commit Graph

4 Commits

Author SHA1 Message Date
Tobias Åström
32d600e88b chore: convert rendering tests to es6 (#1658)
* chore: convert rendering tests to es6

* chore: fix cjs config usage

* chore: fix cjs config usage

* chore: fix verify translations

* chore: babel and jest es6

* chore: aw cjs

* chore: aw cjs

* chore: aw cjs

* chore: fix path
2024-12-30 14:40:28 +01:00
linhnguyen-qlik
22c64bc0a5 feat: add keyboard support for cyclic button and allow keyboard navigation to more button (#1569)
* feat: introduce keyboard support for cyclic button

* fix: wip

* feat: add keyboard support for cyclic button and allow keyboard navigation to more button

* fix: add break

* fix: add undefined

* fix: bring blur

* fix: change onClick

* fix: focus back to list box container

* fix: focus cyclic button at first space

* fix: focus on last-focused row

* fix: close toolbar on escape

* fix: failed test case

* fix: return focus to listbox container when there is nothing to focus

* fix: add unit test

* fix: remove unnecessary code

* fix: try to restore the old behavior

* fix: keyboard nav in global selection

* fix: blur back to listbox

* fix: restore the old logic inSelection

* fix: add check for detached toolbar case

* fix: pr comment

* fix: unit test

* fix: remove unused input

* fix: support in mashup

* fix: faild test case

* fix: failed test case

* fix: add integration test

* fix: failed test case

* fix: update snapshot
2024-07-04 14:02:43 +02:00
Johan Lahti
bde7d118d1 test: rendering test for keyboard nav in grid mode with all arrow keys (#1240)
* refactor: compensate for checkboxes in item width

* test: keyboard nav in grid mode rendering test

* test: upload snapshot

* test: rename with appending linux

* test: confirm selections to rm selections toolbar

* test: replace snapshot
2023-04-25 08:39:53 +02:00
Johan Lahti
476b75327c test(listbox): keyboard navigation rendering tests (#1220)
* refactor: compensate for checkboxes in item width

* test: render keyboard navigation

* fix: revert mashup change

* test: upload img

* fix: rm unncessary headless

* test: update snapshot
2023-04-14 16:15:47 +02:00