You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<buttontext="Tap me twice"on:tap="{() =>show=!show}" />
{#ifshow}
<segmentedBar>
<segmentedBarItemtitle="Visible" />
<!-- This second item is missing after tapping the button -->
<segmentedBarItemtitle="Not Visible after the taps" />
</segmentedBar>
{/if}
<script>
let show =true;
</script>
With the code above, only the first item is kept when show becomes false and then true.
As you can see in the playground, i found a workaround, but wanted to report the bug anyway.
If it's confirmed that this is unexpected behavior, I can try to investigate more and work on a fix, but since I'm new to this it may take some time :)
The text was updated successfully, but these errors were encountered:
On Mon, 24 Feb 2020, 12:49 am Matthieu Gicquel, ***@***.***> wrote:
<button text="Tap me twice" on:tap="{() => show=!show}" />
{#if show}
<segmentedBar>
<segmentedBarItem title="Visible" />
<!-- This second item is missing after tapping the button -->
<segmentedBarItem title="Not Visible after the taps" />
</segmentedBar>
{/if}
<script> let show = true;</script>
Here's a nativescript playground
<https://play.nativescript.org/?template=play-svelte&id=kKoQON&v=10>
With the code above, only the first item is kept when show becomes false
and then true.
As you can see in the playground, i found a workaround, but wanted to
report the bug anyway.
If it's confirmed that this is unexpected behavior, I can try to
investigate more and work on a fix, but since I'm new to this it may take
some time :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#113?email_source=notifications&email_token=AAEGS5CQ4U4JTDXZUJN5WALREKEGNA5CNFSM4KZ3E5S2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IPR7JSA>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEGS5BJ5WXPFC3NFRSOBD3REKEGNANCNFSM4KZ3E5SQ>
.
Here's a nativescript playground
With the code above, only the first item is kept when
show
becomesfalse
and thentrue
.As you can see in the playground, i found a workaround, but wanted to report the bug anyway.
If it's confirmed that this is unexpected behavior, I can try to investigate more and work on a fix, but since I'm new to this it may take some time :)
The text was updated successfully, but these errors were encountered: