How do I enable smooth animation during dynamic addition of components in react native?Jquery get random words from textareaGet word/character screen position by its string index in Kinetic.js Text elementjavascript split string on a space and return first 50 words as a sentence/paragraphHighlight portions of a phrase in body of textHow can I replace blank extra spaces (not white-spaces) with '-'?JavaScript storing search matches in arrayInjecting Multiple Dependencies in do…whileExplode string by length, preserving wordsjavascript summary my checked inputCount string occurence in array using only reduce does not read last value
Has any spacecraft ever had the ability to directly communicate with civilian air traffic control?
Can commander tax be proliferated?
Selecting a secure PIN for building access
How did Captain America use this power?
Meaning of "individuandum"
If Earth is tilted, why is Polaris always above the same spot?
How did Arya get back her dagger from Sansa?
Applying a function to a nested list
Why do computer-science majors learn calculus?
Was Hulk present at this event?
Entropy as a function of temperature: is temperature well defined?
Historically, were women trained for obligatory wars? Or did they serve some other military function?
Junior developer struggles: how to communicate with management?
What was the state of the German rail system in 1944?
Unidentified items in bicycle tube repair kit
Survey Confirmation - Emphasize the question or the answer?
Was the ancestor of SCSI, the SASI protocol, nothing more than a draft?
What is the limiting factor for a CAN bus to exceed 1Mbps bandwidth?
I’ve officially counted to infinity!
What happens if I start too many background jobs?
Write to EXCEL from SQL DB using VBA script
When and why did journal article titles become descriptive, rather than creatively allusive?
Why do money exchangers give different rates to different bills
How can I close a gap between my fence and my neighbor's that's on his side of the property line?
How do I enable smooth animation during dynamic addition of components in react native?
Jquery get random words from textareaGet word/character screen position by its string index in Kinetic.js Text elementjavascript split string on a space and return first 50 words as a sentence/paragraphHighlight portions of a phrase in body of textHow can I replace blank extra spaces (not white-spaces) with '-'?JavaScript storing search matches in arrayInjecting Multiple Dependencies in do…whileExplode string by length, preserving wordsjavascript summary my checked inputCount string occurence in array using only reduce does not read last value
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
In my React Native app I have a card which has a conditional <Text>
component which is rendered on press of a button and removed on triggering the same button.
This is what it my code looks like:
<View style=styles.container>
<View style=styles.card>
<Button onPress=() => this.setState( triggered: !this.state.triggered ) title="Click to Expand" />
<Text>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</Text>
this.state.triggered && <Text>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</Text>
</View>
</View>
And the CSS for it:
container:
flex: 1,
paddingTop: Constants.statusBarHeight,
backgroundColor: '#ecf0f1',
,
card:
width: "90%",
backgroundColor: "lightgrey",
borderRadius: 15,
alignSelf: "center",
padding: "5%"
,
My full code available on an online emulator provided here: (https://snack.expo.io/@eddyj/thrilled-pudding)
So far so good, everything works as expected, however the transitions itself is not smooth at all. It just appears/disappears. How can I animate the card so it gradually increases and decreases its height? Is that possible?
javascript reactjs react-native expo
add a comment |
In my React Native app I have a card which has a conditional <Text>
component which is rendered on press of a button and removed on triggering the same button.
This is what it my code looks like:
<View style=styles.container>
<View style=styles.card>
<Button onPress=() => this.setState( triggered: !this.state.triggered ) title="Click to Expand" />
<Text>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</Text>
this.state.triggered && <Text>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</Text>
</View>
</View>
And the CSS for it:
container:
flex: 1,
paddingTop: Constants.statusBarHeight,
backgroundColor: '#ecf0f1',
,
card:
width: "90%",
backgroundColor: "lightgrey",
borderRadius: 15,
alignSelf: "center",
padding: "5%"
,
My full code available on an online emulator provided here: (https://snack.expo.io/@eddyj/thrilled-pudding)
So far so good, everything works as expected, however the transitions itself is not smooth at all. It just appears/disappears. How can I animate the card so it gradually increases and decreases its height? Is that possible?
javascript reactjs react-native expo
as per help pages: please post code writhing the questing.Include just enough code to allow others to reproduce the problem. For help with this, read How to create a Minimal, Complete, and Verifiable example. If it is possible to create a live example of the problem that you can link to (for example, on sqlfiddle.com or jsbin.com) then do so - but also copy the code into the question itself. Not everyone can access external sites, and the links may break over time. Use Stack Snippets to make a live demo of inline JavaScript / HTML / CSS
– SherylHohman
Mar 22 at 4:27
1
@SherylHohman Thank you for the useful links. I have now added Minimal, Complete, and Verifiable example to this post. The full live example is not available on sqlfiddle.com but on snack.expo since it is easier for React Native projects => snack.expo.io/@eddyj/thrilled-pudding
– John Doe
Mar 22 at 13:17
add a comment |
In my React Native app I have a card which has a conditional <Text>
component which is rendered on press of a button and removed on triggering the same button.
This is what it my code looks like:
<View style=styles.container>
<View style=styles.card>
<Button onPress=() => this.setState( triggered: !this.state.triggered ) title="Click to Expand" />
<Text>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</Text>
this.state.triggered && <Text>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</Text>
</View>
</View>
And the CSS for it:
container:
flex: 1,
paddingTop: Constants.statusBarHeight,
backgroundColor: '#ecf0f1',
,
card:
width: "90%",
backgroundColor: "lightgrey",
borderRadius: 15,
alignSelf: "center",
padding: "5%"
,
My full code available on an online emulator provided here: (https://snack.expo.io/@eddyj/thrilled-pudding)
So far so good, everything works as expected, however the transitions itself is not smooth at all. It just appears/disappears. How can I animate the card so it gradually increases and decreases its height? Is that possible?
javascript reactjs react-native expo
In my React Native app I have a card which has a conditional <Text>
component which is rendered on press of a button and removed on triggering the same button.
This is what it my code looks like:
<View style=styles.container>
<View style=styles.card>
<Button onPress=() => this.setState( triggered: !this.state.triggered ) title="Click to Expand" />
<Text>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</Text>
this.state.triggered && <Text>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</Text>
</View>
</View>
And the CSS for it:
container:
flex: 1,
paddingTop: Constants.statusBarHeight,
backgroundColor: '#ecf0f1',
,
card:
width: "90%",
backgroundColor: "lightgrey",
borderRadius: 15,
alignSelf: "center",
padding: "5%"
,
My full code available on an online emulator provided here: (https://snack.expo.io/@eddyj/thrilled-pudding)
So far so good, everything works as expected, however the transitions itself is not smooth at all. It just appears/disappears. How can I animate the card so it gradually increases and decreases its height? Is that possible?
javascript reactjs react-native expo
javascript reactjs react-native expo
edited Mar 22 at 15:01
Edison D'souza
1,68011628
1,68011628
asked Mar 22 at 1:08
John DoeJohn Doe
697
697
as per help pages: please post code writhing the questing.Include just enough code to allow others to reproduce the problem. For help with this, read How to create a Minimal, Complete, and Verifiable example. If it is possible to create a live example of the problem that you can link to (for example, on sqlfiddle.com or jsbin.com) then do so - but also copy the code into the question itself. Not everyone can access external sites, and the links may break over time. Use Stack Snippets to make a live demo of inline JavaScript / HTML / CSS
– SherylHohman
Mar 22 at 4:27
1
@SherylHohman Thank you for the useful links. I have now added Minimal, Complete, and Verifiable example to this post. The full live example is not available on sqlfiddle.com but on snack.expo since it is easier for React Native projects => snack.expo.io/@eddyj/thrilled-pudding
– John Doe
Mar 22 at 13:17
add a comment |
as per help pages: please post code writhing the questing.Include just enough code to allow others to reproduce the problem. For help with this, read How to create a Minimal, Complete, and Verifiable example. If it is possible to create a live example of the problem that you can link to (for example, on sqlfiddle.com or jsbin.com) then do so - but also copy the code into the question itself. Not everyone can access external sites, and the links may break over time. Use Stack Snippets to make a live demo of inline JavaScript / HTML / CSS
– SherylHohman
Mar 22 at 4:27
1
@SherylHohman Thank you for the useful links. I have now added Minimal, Complete, and Verifiable example to this post. The full live example is not available on sqlfiddle.com but on snack.expo since it is easier for React Native projects => snack.expo.io/@eddyj/thrilled-pudding
– John Doe
Mar 22 at 13:17
as per help pages: please post code writhing the questing.Include just enough code to allow others to reproduce the problem. For help with this, read How to create a Minimal, Complete, and Verifiable example. If it is possible to create a live example of the problem that you can link to (for example, on sqlfiddle.com or jsbin.com) then do so - but also copy the code into the question itself. Not everyone can access external sites, and the links may break over time. Use Stack Snippets to make a live demo of inline JavaScript / HTML / CSS
– SherylHohman
Mar 22 at 4:27
as per help pages: please post code writhing the questing.Include just enough code to allow others to reproduce the problem. For help with this, read How to create a Minimal, Complete, and Verifiable example. If it is possible to create a live example of the problem that you can link to (for example, on sqlfiddle.com or jsbin.com) then do so - but also copy the code into the question itself. Not everyone can access external sites, and the links may break over time. Use Stack Snippets to make a live demo of inline JavaScript / HTML / CSS
– SherylHohman
Mar 22 at 4:27
1
1
@SherylHohman Thank you for the useful links. I have now added Minimal, Complete, and Verifiable example to this post. The full live example is not available on sqlfiddle.com but on snack.expo since it is easier for React Native projects => snack.expo.io/@eddyj/thrilled-pudding
– John Doe
Mar 22 at 13:17
@SherylHohman Thank you for the useful links. I have now added Minimal, Complete, and Verifiable example to this post. The full live example is not available on sqlfiddle.com but on snack.expo since it is easier for React Native projects => snack.expo.io/@eddyj/thrilled-pudding
– John Doe
Mar 22 at 13:17
add a comment |
2 Answers
2
active
oldest
votes
Try these services for smooth rendering from react-native Docs
import
NativeModules,
LayoutAnimation
from 'react-native';
const UIManager = NativeModules;
componentWillUpdate()
UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true)
LayoutAnimation.spring();
add a comment |
You can do this a few ways, but you'll likely want to make use of the Animated library:
import Animated from 'react-native'
You store the (style property) value in state:
this.state = myViewHeight: new Animated.Value(300)
(myViewHeight
would be used as a style prop in this example, <View style= height: myViewHeight
)
And then to alter the value gradually, run an animation on it:
Animated.timing(this.state.myViewHeight,
toValue: 600,
duration: 300
).start()
In this example, it would gradually raise the height of the view from 300 to 600.
However, since you want to show more text, I think if I were you I might convert the text to an array of words and animate the percent of words shown.
There's a good guide here.
1
I think this would work great but I do not wish to have a fixed value forheight
(300
nor600
). How can I implement the same logic without knowing the exact height and without setting a fixed one?
– John Doe
Mar 22 at 2:07
You can store the words in an array and animate the number of words shown with array.slice(0, n) where n is the animated value. It's really up to you, but knowing how to use Animated might help you out.
– xiiishaneiiix
Mar 22 at 2:15
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55291471%2fhow-do-i-enable-smooth-animation-during-dynamic-addition-of-components-in-react%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Try these services for smooth rendering from react-native Docs
import
NativeModules,
LayoutAnimation
from 'react-native';
const UIManager = NativeModules;
componentWillUpdate()
UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true)
LayoutAnimation.spring();
add a comment |
Try these services for smooth rendering from react-native Docs
import
NativeModules,
LayoutAnimation
from 'react-native';
const UIManager = NativeModules;
componentWillUpdate()
UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true)
LayoutAnimation.spring();
add a comment |
Try these services for smooth rendering from react-native Docs
import
NativeModules,
LayoutAnimation
from 'react-native';
const UIManager = NativeModules;
componentWillUpdate()
UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true)
LayoutAnimation.spring();
Try these services for smooth rendering from react-native Docs
import
NativeModules,
LayoutAnimation
from 'react-native';
const UIManager = NativeModules;
componentWillUpdate()
UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true)
LayoutAnimation.spring();
edited Mar 22 at 3:55
answered Mar 22 at 3:38
Edison D'souzaEdison D'souza
1,68011628
1,68011628
add a comment |
add a comment |
You can do this a few ways, but you'll likely want to make use of the Animated library:
import Animated from 'react-native'
You store the (style property) value in state:
this.state = myViewHeight: new Animated.Value(300)
(myViewHeight
would be used as a style prop in this example, <View style= height: myViewHeight
)
And then to alter the value gradually, run an animation on it:
Animated.timing(this.state.myViewHeight,
toValue: 600,
duration: 300
).start()
In this example, it would gradually raise the height of the view from 300 to 600.
However, since you want to show more text, I think if I were you I might convert the text to an array of words and animate the percent of words shown.
There's a good guide here.
1
I think this would work great but I do not wish to have a fixed value forheight
(300
nor600
). How can I implement the same logic without knowing the exact height and without setting a fixed one?
– John Doe
Mar 22 at 2:07
You can store the words in an array and animate the number of words shown with array.slice(0, n) where n is the animated value. It's really up to you, but knowing how to use Animated might help you out.
– xiiishaneiiix
Mar 22 at 2:15
add a comment |
You can do this a few ways, but you'll likely want to make use of the Animated library:
import Animated from 'react-native'
You store the (style property) value in state:
this.state = myViewHeight: new Animated.Value(300)
(myViewHeight
would be used as a style prop in this example, <View style= height: myViewHeight
)
And then to alter the value gradually, run an animation on it:
Animated.timing(this.state.myViewHeight,
toValue: 600,
duration: 300
).start()
In this example, it would gradually raise the height of the view from 300 to 600.
However, since you want to show more text, I think if I were you I might convert the text to an array of words and animate the percent of words shown.
There's a good guide here.
1
I think this would work great but I do not wish to have a fixed value forheight
(300
nor600
). How can I implement the same logic without knowing the exact height and without setting a fixed one?
– John Doe
Mar 22 at 2:07
You can store the words in an array and animate the number of words shown with array.slice(0, n) where n is the animated value. It's really up to you, but knowing how to use Animated might help you out.
– xiiishaneiiix
Mar 22 at 2:15
add a comment |
You can do this a few ways, but you'll likely want to make use of the Animated library:
import Animated from 'react-native'
You store the (style property) value in state:
this.state = myViewHeight: new Animated.Value(300)
(myViewHeight
would be used as a style prop in this example, <View style= height: myViewHeight
)
And then to alter the value gradually, run an animation on it:
Animated.timing(this.state.myViewHeight,
toValue: 600,
duration: 300
).start()
In this example, it would gradually raise the height of the view from 300 to 600.
However, since you want to show more text, I think if I were you I might convert the text to an array of words and animate the percent of words shown.
There's a good guide here.
You can do this a few ways, but you'll likely want to make use of the Animated library:
import Animated from 'react-native'
You store the (style property) value in state:
this.state = myViewHeight: new Animated.Value(300)
(myViewHeight
would be used as a style prop in this example, <View style= height: myViewHeight
)
And then to alter the value gradually, run an animation on it:
Animated.timing(this.state.myViewHeight,
toValue: 600,
duration: 300
).start()
In this example, it would gradually raise the height of the view from 300 to 600.
However, since you want to show more text, I think if I were you I might convert the text to an array of words and animate the percent of words shown.
There's a good guide here.
edited Mar 22 at 20:05
Edison D'souza
1,68011628
1,68011628
answered Mar 22 at 1:31
xiiishaneiiixxiiishaneiiix
416212
416212
1
I think this would work great but I do not wish to have a fixed value forheight
(300
nor600
). How can I implement the same logic without knowing the exact height and without setting a fixed one?
– John Doe
Mar 22 at 2:07
You can store the words in an array and animate the number of words shown with array.slice(0, n) where n is the animated value. It's really up to you, but knowing how to use Animated might help you out.
– xiiishaneiiix
Mar 22 at 2:15
add a comment |
1
I think this would work great but I do not wish to have a fixed value forheight
(300
nor600
). How can I implement the same logic without knowing the exact height and without setting a fixed one?
– John Doe
Mar 22 at 2:07
You can store the words in an array and animate the number of words shown with array.slice(0, n) where n is the animated value. It's really up to you, but knowing how to use Animated might help you out.
– xiiishaneiiix
Mar 22 at 2:15
1
1
I think this would work great but I do not wish to have a fixed value for
height
(300
nor 600
). How can I implement the same logic without knowing the exact height and without setting a fixed one?– John Doe
Mar 22 at 2:07
I think this would work great but I do not wish to have a fixed value for
height
(300
nor 600
). How can I implement the same logic without knowing the exact height and without setting a fixed one?– John Doe
Mar 22 at 2:07
You can store the words in an array and animate the number of words shown with array.slice(0, n) where n is the animated value. It's really up to you, but knowing how to use Animated might help you out.
– xiiishaneiiix
Mar 22 at 2:15
You can store the words in an array and animate the number of words shown with array.slice(0, n) where n is the animated value. It's really up to you, but knowing how to use Animated might help you out.
– xiiishaneiiix
Mar 22 at 2:15
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55291471%2fhow-do-i-enable-smooth-animation-during-dynamic-addition-of-components-in-react%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
as per help pages: please post code writhing the questing.Include just enough code to allow others to reproduce the problem. For help with this, read How to create a Minimal, Complete, and Verifiable example. If it is possible to create a live example of the problem that you can link to (for example, on sqlfiddle.com or jsbin.com) then do so - but also copy the code into the question itself. Not everyone can access external sites, and the links may break over time. Use Stack Snippets to make a live demo of inline JavaScript / HTML / CSS
– SherylHohman
Mar 22 at 4:27
1
@SherylHohman Thank you for the useful links. I have now added Minimal, Complete, and Verifiable example to this post. The full live example is not available on sqlfiddle.com but on snack.expo since it is easier for React Native projects => snack.expo.io/@eddyj/thrilled-pudding
– John Doe
Mar 22 at 13:17