Open dmnplb opened 3 weeks ago
GradientScrollView
per diverse combinazioni di pulsanti
subtask of
Generated by :no_entry_sign: dangerJS against 0486daf08bf99566caf333b92b8c91ae67c5f874
Attention: Patch coverage is 10.61947%
with 101 lines
in your changes are missing coverage. Please review.
Project coverage is 49.46%. Comparing base (
4f204b4
) to head (0486daf
). Report is 72 commits behind head on master.
Short description
This PR add the new
IOScrollView
, next iteration of theGradientScrollView
(now officially deprecated):It also adds the new
IOScrollViewWithLargeHeader
screen component that should replaceRNavScreenWithLargeHeader
.List of changes proposed in this pull request
Add the new
IOScrollView
screen component. Compared to the previousGradientScrollView
:GradientBottomActions
because it hasn't added any advantagesnapOffset
prop to optionally configure the snap pointheaderConfig
propincludeContentMargins
boolean value to remove content margins if neededGradientScrollView
(nowIOScrollView
)actions
config objectdebugMode
so you can see the gradient area even when the end is reachedAdd the new
IOScrollViewWithLargeHeader
screen component. Compared to the previousRNavScreenWithLargeHeader
:fixedBottomSlot
because we already manage the actions at the bottom with theIOScrollView
componentPreview
As you can see from the video above, in the most extreme case you can see all kinds of buttons.
How to test