ordering-ui-react-native 0.23.51 → 0.23.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -476,15 +476,6 @@ const CheckoutUI = (props: any) => {
|
|
|
476
476
|
}
|
|
477
477
|
}, [cartState?.error, cartState?.cart, cartState?.loading, isFocused])
|
|
478
478
|
|
|
479
|
-
useEffect(() => {
|
|
480
|
-
const keyboardDidShowListener = Keyboard.addListener('keyboardDidShow', () => {
|
|
481
|
-
containerRef?.current?.scrollToEnd && containerRef.current.scrollToEnd({ animated: true })
|
|
482
|
-
})
|
|
483
|
-
return () => {
|
|
484
|
-
keyboardDidShowListener.remove()
|
|
485
|
-
}
|
|
486
|
-
}, [])
|
|
487
|
-
|
|
488
479
|
useEffect(() => {
|
|
489
480
|
const onBackFunction = () => {
|
|
490
481
|
if (webviewPaymethod?.gateway === 'paypal' && showGateway.open) {
|
|
@@ -353,7 +353,7 @@ export const UserFormDetailsUI = (props: any) => {
|
|
|
353
353
|
isDisabled={false}
|
|
354
354
|
value={
|
|
355
355
|
formState?.changes[field.code] ??
|
|
356
|
-
(user && user?.guest_id ? user?.guest_email : user[field.code]) ??
|
|
356
|
+
(user && user?.guest_id && field.code === 'email' ? user?.guest_email : user[field.code]) ??
|
|
357
357
|
''
|
|
358
358
|
}
|
|
359
359
|
onChange={(val: any) => {
|