NativeBase icon indicating copy to clipboard operation
NativeBase copied to clipboard

overriding AlertDialog baseStyle (_fade, _backdropFade) is not working

Open kor3an opened this issue 4 years ago • 3 comments

Description

overriding AlertDialog baseStyle (_fade, _backdropFade) is not working.

(+) and default fade animation duration became too slow, so it seems unnatural.

CodeSandbox/Snack link

https://snack.expo.dev/sSC9-U5FS

Steps to reproduce

  1. Go to Expo Snack link
  2. Open iOS App, and click 'Open' Button
  3. and watch the AlertDialog is showing and see _fade, _backdropFade baseStyle is not overriden.

NativeBase Version

3.4.3

Platform

  • [ ] Android
  • [ ] CRA
  • [ ] Expo
  • [X] iOS
  • [ ] Next

Other Platform

No response

Additional Information

No response

kor3an avatar May 05 '22 07:05 kor3an

Hello @hoondeveloper, Thanks for reporting this issue, we'll look into this!

mayank-96 avatar May 05 '22 08:05 mayank-96

@surajahmed @rayan1810 @mayank-96 Need to rethink how this can be handled on the theme level and not on the component level and should provide consistency for all the animation props.

Viraj-10 avatar Jun 02 '22 10:06 Viraj-10

Hi @hoondeveloper, This issue is fixed in the latest version of the native-base.

Viraj-10 avatar Sep 19 '22 11:09 Viraj-10