The target
property is not forwarded to the Pressable
component in Admin UI components
#2505
Labels
target
property is not forwarded to the Pressable
component in Admin UI components
#2505
Please list the package(s) involved in the issue, and include the version you are using
Describe the bug
According to the docs, the
Pressable
component can receive atarget
of_self
or_blank
. However, in the Admin UI Extensions, the target doesn't get forwarded to the component. Therefore, thePressable
component always opens with_self
even iftarget="_blank"
is specified.Steps to reproduce the behavior:
Pressable
component from@shopify/ui-extensions-react/admin
in an Admin UI extension.target="_blank"
to aPressable
component.target
is not forwarded to the component.Expected behavior
It should forward the
target
and ensure the click event opens a new window whentarget="_blank"
is specified.Screenshots
...
Additional context
...
The text was updated successfully, but these errors were encountered: