Skip to content

Checkbox - Use shipping address as billing address erratic behaviour #2638

Open
@BogdanPopescu0209

Description

@BogdanPopescu0209

Please list the package(s) involved in the issue, and include the version you are using

@shopify/ui-extensions 2024.10.x

@shopify/ui-extensions-react 2024.10.x

Describe the bug

After modifying the shipping address using useApplyShippingAddressChange to add an address and then clearing it, the checkbox's behavior becomes erratic. Sometimes, it appears during a search, while other times, it disappears.

Steps to reproduce the behavior:

  1. Add an address using useApplyShippingAddressChange
  2. Clear the address using useApplyShippingAddressChange
  3. Then perform multiple address searches and monitor the checkbox behavior

Expected behavior

The checkbox shouldn't appear and disappear when looking up addresses.

Screenshots

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions