useResizeableDrawer: remove size state storage
I am slowly going to remove functionality and stateful behavior from this hook, as it should have never been added on the first place. We want the least opinionated version of a resizeable drawer so that it can cater to different behaviors.
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
Additional details and impacted files
@@ Coverage Diff @@
## master #88170 +/- ##
==========================================
- Coverage 87.89% 87.72% -0.18%
==========================================
Files 10226 9976 -250
Lines 586011 563149 -22862
Branches 22768 22171 -597
==========================================
- Hits 515098 494004 -21094
+ Misses 70484 68730 -1754
+ Partials 429 415 -14
A couple notes from attempting to use this hook in its current state to support resizing the secondary nav:
- The cursor does not stay locked to the resize handle. If you drag the resize handle past its max or min, your cursor will desync.
- Minor feature request: it would be nice if the
resizeHandlePropsdynamically changed the cursor toe-resizeandw-resize(for left/right resizing) when it hit its max/min widths.
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀