docbrown/app/javascript/crayons/Dropdown
Suzanne Aitchison af517bc5aa
Optimise dropdowns for accessibility: Preact component usages (#13948)
* use the dropdown initializer in post editor options

* use dropdown initializer in comment subs dropdown

* use Dropdown component in listings

* show the dropdown button when it's focused

* update storybook notes and components

* add cypress tests for post options dropdown

* add comment subscription tests

* make sure page is properly initialized before setting button functionality

* add jsdoc comments, props types, rely on optional chaining

* Update app/javascript/crayons/Dropdown/__stories__/dropdowns.md

Co-authored-by: rhymes <github@rhymes.dev>

* Update app/javascript/crayons/Dropdown/__stories__/dropdowns.md

Co-authored-by: rhymes <github@rhymes.dev>

Co-authored-by: rhymes <github@rhymes.dev>
2021-06-15 12:06:27 +01:00
..
__stories__ Optimise dropdowns for accessibility: Preact component usages (#13948) 2021-06-15 12:06:27 +01:00
__tests__ Upgrade to Preact 10.4.4 (#8739) 2020-06-18 10:07:17 -04:00
Dropdown.jsx Optimise dropdowns for accessibility: Preact component usages (#13948) 2021-06-15 12:06:27 +01:00
index.js Created preact component for crayons dropdown (#6961) 2020-03-31 09:42:21 -04:00