Inverted arrow icon behavior in expand/collapse state #179

Closed
opened 2026-04-08 20:46:51 +00:00 by sakshamjain · 1 comment
Collaborator

Description:
The arrow icon used for expand/collapse is currently inverted. When the section is in a collapsed state, it shows an upward arrow (^), and when expanded, it shows a downward arrow (⌄).

Expected behavior:

Collapsed state → downward arrow (⌄)
Expanded state → upward arrow (^)

Attachment: Video demonstrating the current behaviour

Additional Comments: Same behaviour is observed in mobile device

Description: The arrow icon used for expand/collapse is currently inverted. When the section is in a collapsed state, it shows an upward arrow (^), and when expanded, it shows a downward arrow (⌄). Expected behavior: Collapsed state → downward arrow (⌄) Expanded state → upward arrow (^) Attachment: Video demonstrating the current behaviour Additional Comments: Same behaviour is observed in mobile device
Author
Collaborator

@hodlbod, you can assign this issue to me.

I traced the issue to src/routes/settings/profile/+page.svelte:

<Button onclick={() => (showAdvanced = !showAdvanced)}>
  {#if showAdvanced}
    <Icon icon={AltArrowDown} />
  {:else}
    <Icon icon={AltArrowUp} />
  {/if}
</Button>

The icon logic appears inverted; I can fix this and open a PR.

@hodlbod, you can assign this issue to me. I traced the issue to src/routes/settings/profile/+page.svelte: ``` <Button onclick={() => (showAdvanced = !showAdvanced)}> {#if showAdvanced} <Icon icon={AltArrowDown} /> {:else} <Icon icon={AltArrowUp} /> {/if} </Button> ``` The icon logic appears inverted; I can fix this and open a PR.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coracle/flotilla#179