Shopify / ui-extensions

MIT License
265 stars 37 forks source link

[Checkout UI] Button in MapPopover is hovered by default #1786

Open patryk-smc opened 7 months ago

patryk-smc commented 7 months ago

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

@shopify/ui-extensions-react@2024.1.1

Describe the bug

When we have a Button component inside of MapPopover, after opening a popover the Button is incorrectly in hover state.

            <MapPopover>
                    <BlockStack>
                      <Button kind="primary">
                        Test
                      </Button>
                    </BlockStack>
                  </MapPopover>

Expected behavior

Button should not be hovered by default

Screenshots

https://github.com/Shopify/ui-extensions/assets/37963339/a9e31c12-b7d8-47cc-9e07-cd84448b5f44

patryk-smc commented 1 month ago

It's been quite some time. Just wanted to give heads up that this issue is still present today.