alistair3149
|
764f7593c3
|
fix(overflow): 🐛 fix undefined wrapper
|
2024-07-20 19:32:22 -04:00 |
|
alistair3149
|
7fb35f90f5
|
fix(overflow): 🐛 prevent overflow button from triggering form action button
When the overflow button is within a `<form>` element, it can sometimes
trigger the form action (e.g. In the realtime preview of WikiEditor).
|
2024-06-24 14:39:33 -04:00 |
|
alistair3149
|
dd89daba39
|
fix(overflow): 🐛 allow to click through the nav element
|
2024-06-12 12:51:50 -04:00 |
|
alistair3149
|
7830faa8fe
|
fix(overflow): 🐛 mark oveflow button as not accessible for screen reader
|
2024-06-11 19:15:57 -04:00 |
|
alistair3149
|
4b457dfa08
|
fix(overflow): 🐛 align scroll buttons with content margin
|
2024-06-11 19:07:38 -04:00 |
|
alistair3149
|
cbf60030f1
|
fix(overflow): 🐛 use more accurate rounding method for overflow detection
|
2024-06-11 18:56:54 -04:00 |
|
alistair3149
|
55d413eeda
|
feat(overflow): ✨ add overflow scroll button when using a pointer device
|
2024-06-11 18:00:45 -04:00 |
|
alistair3149
|
83ab221408
|
feat(core): ✨ only handle wikitable instead of all tables
Wikis use tables in creative ways and it is probably just safer to only apply it to wikitables.
Might revisit if there are any news from T330527.
|
2024-05-29 17:47:13 -04:00 |
|
alistair3149
|
2bbb1d9408
|
perf(core): ⚡️ check for nowrap classes before constructing class
|
2024-05-29 14:02:57 -04:00 |
|
alistair3149
|
4ed68a924d
|
feat(core): ✨ wrap any elements tagged with the class citizen-overflow
|
2024-05-27 18:01:09 -04:00 |
|
alistair3149
|
7b32aeec7d
|
fix(core): 🐛 always reset overflow state
|
2024-05-27 17:58:04 -04:00 |
|
alistair3149
|
974e6b2750
|
feat(core): ✨ add config to change overflow inherited classes
|
2024-05-27 17:16:23 -04:00 |
|
alistair3149
|
c9210bd0dd
|
refactor(core): ♻️ separate inherited class function
|
2024-05-27 17:10:04 -04:00 |
|
alistair3149
|
523140f62f
|
perf(core): ⚡️ only toggle class when the element is overflowing
|
2024-05-27 17:04:28 -04:00 |
|
alistair3149
|
bc356f915d
|
fix(core): 🐛 fix incorrect overflow wrapper class name
|
2024-05-27 16:12:09 -04:00 |
|
alistair3149
|
cb1cfde785
|
fix(core): 🐛 remove table border expansion before the JS is loaded
|
2024-05-27 16:10:25 -04:00 |
|
alistair3149
|
c17aeab3fd
|
feat(core): ✨ rename wgCitizenTableNowrapClasses to wgCitizenOverflowNowrapClasses
Allow this config to use for more generic elements in the future
|
2024-05-27 15:54:34 -04:00 |
|
alistair3149
|
7a4d43392d
|
perf(core): ⚡️ remove scroll eventListener and resizeObserver on tables when not needed
Also started to refactor the table script to be more generic for overflow elements.
|
2024-05-27 15:47:53 -04:00 |
|