Gheorghe Pinzaru
6e51f596fa
fix: ios presentation modal cuts the topOffset on the bottom ( #7943 )
...
* Add padding bottom to ios presentation modal
Because of the translateY moving the screen out to the bottom of view by 10 pt, these 10pt are hidden under the screen, or steal this size from the safe area. To avoid cutting elements, the size of the screen could be decreased by the `topOffset` using padding on the bottom. Fixes #7856
* Update packages/stack/src/TransitionConfigs/CardStyleInterpolators.tsx
Co-Authored-By: Serhii Vecherenko <SDSLeon999@gmail.com >
Co-authored-by: Satyajit Sahoo <satyajit.happy@gmail.com >
Co-authored-by: Serhii Vecherenko <SDSLeon999@gmail.com >
2020-04-18 01:13:34 +02:00
Michał Osadnik
80a337024a
fix: enhance border radius in modals on new iPhones ( #6945 )
...
Co-authored-by: Satyajit Sahoo <satyajit.happy@gmail.com >
2020-02-24 14:44:20 +01:00
Satyajit Sahoo
8f40a98086
fix: hard code header height for animation
...
closes #6818
2020-02-14 18:44:54 +01:00
Satyajit Sahoo
321fa653ad
fix: handle header translation for horizontal-inverted
...
When going from a screen with header to screen with no header, we need to translate the header to right if the animation direction is inverted.
2020-01-20 10:55:10 +01:00
Satyajit Sahoo
43d2c456be
fix: slide the header up to hide it for vertical animation
2020-01-18 04:13:37 +01:00
Satyajit Sahoo
fe82276b1f
fix: use a fade animation for header in all presets
2020-01-18 03:54:01 +01:00
Satyajit Sahoo
23f76189a4
refactor: rename forStatic to forSlide for header
2020-01-13 00:54:05 +01:00
Satyajit Sahoo
37d26ca994
fix: change default screen change animation on web
2020-01-09 02:59:36 +01:00
Satyajit Sahoo
67798af869
fix: clamp interpolated styles
2020-01-09 01:27:19 +01:00
Satyajit Sahoo
282f62c258
refactor: use animated instead of reanimated
2020-01-01 12:53:01 +01:00
Satyajit Sahoo
c110570d4c
fix: disable style interpolation for card when animation is disabled
2019-12-16 15:25:19 +01:00
Satyajit Sahoo
cd1acbf8b5
refactor: add inverted direction and simplify code
2019-12-10 13:07:03 +01:00
satyajit.happy
031c4d2378
fix: don't keep unfocused header backgrounds visible
2019-10-22 04:54:38 +02:00
Sirui Li
c6d0c19b49
fix: don't fade incoming background when fading header ( #127 )
2019-10-16 22:58:31 +02:00
Satyajit Sahoo
e789846692
fix: make modal presentation mode fullscreen on landscape ( #124 )
2019-10-08 15:50:52 +02:00
osdnk
b32cda2446
fix: interpolation in iOS modal presentation
2019-10-08 13:01:15 +02:00
satyajit.happy
832ed882bc
refactor: use react-native-safe-area-context
2019-10-03 21:31:09 +02:00
satyajit.happy
8b78d617c0
feat: export some more type aliases
2019-09-25 23:09:58 +02:00
Ryan Stelly
b4bbf9b0c3
fix: add fallbacks for non-web modules
...
closes #95 , #96
2019-09-17 16:58:17 +02:00
satyajit.happy
f57a91c417
fix: tweak android q animations
2019-09-08 12:40:38 +02:00
satyajit.happy
196cce0803
feat: add approximate android Q transition
2019-09-04 11:36:00 +02:00
satyajit.happy
bf0b408238
refactor: change signature of interpolation props
2019-08-31 10:21:36 +02:00
satyajit.happy
ea4c753d0a
refactor: rename 'timing' option to 'animation' in transition spec
2019-08-28 15:48:17 +02:00
satyajit.happy
01196d7b48
docs: add JSDoc for transition configurations
2019-08-28 15:41:11 +02:00
satyajit.happy
3f7689435a
refactor: rename direction to gestureDirection
2019-08-18 23:51:47 +05:30
satyajit.happy
6fd3729e03
refactor: rename WipeFromBottomAndroid to RevealFromBottomAndroid
2019-08-18 23:51:47 +05:30
satyajit.happy
7ba243d3c9
refactor: export a modal transition preset
2019-08-18 23:51:47 +05:30
satyajit.happy
9f3b70f74a
fix: tweak transition spec to prevent jumping effect
2019-08-18 23:51:47 +05:30
satyajit.happy
3f7a54d3b7
fix: hide overflow in wipe preset
2019-08-18 23:51:45 +05:30
satyajit.happy
1cf7dc5f47
fix: fix border radius of modal presentation
2019-08-18 23:51:45 +05:30
satyajit.happy
316452702e
fix: hide background for unfocused header in fade
...
Otherwise the header background below shows up when header mode is none
2019-08-18 23:51:45 +05:30
satyajit.happy
838732dcfa
feat: add iOS modal presentation style
2019-08-18 23:51:44 +05:30
satyajit.happy
98d29dafbf
fix: support specifying header background color in headerStyle
2019-08-18 23:51:43 +05:30
satyajit.happy
55c308543d
fix: make the header appear static when sibling of headerless screen
2019-08-18 23:51:41 +05:30
satyajit.happy
29de72ad36
fix: handle RTL properly
2019-08-18 23:51:41 +05:30
satyajit.happy
aeec520516
fix: use pure component for stack items
2019-08-18 23:51:40 +05:30
Satyajit Sahoo
78c4f25c5e
fix: tweak the easing for android
...
Co-Authored-By: Michał Osadnik <micosa97@gmail.com >
2019-08-18 23:51:40 +05:30
satyajit.happy
d2397d5a2a
fix: use a separate shadow view for the cards
2019-08-18 23:51:39 +05:30
satyajit.happy
40aaec10c7
refactor: switch to fade animation for header by default
2019-08-18 23:51:39 +05:30
satyajit.happy
efdfffaeee
refactor: refactor and perf improvements
2019-08-18 23:51:38 +05:30
satyajit.happy
9b176e9dc8
feat: new implementation with reanimated
2019-08-18 23:51:38 +05:30