Cursor Focus Shifts to Pincode Field on purchase.checkout.shipping-option-list.render-before
Extension Point in Shopify Checkout UI
#2467
Labels
bug
Something isn't working
Description
I am experiencing an issue with the checkout UI extension on Shopify. When I add custom code to the
purchase.checkout.shipping-option-list.render-before
extension point, the cursor focus automatically shifts to the pincode field during the checkout process. This unintended behavior disrupts the user experience.Steps to Reproduce
purchase.checkout.shipping-option-list.render-before
extension point.Code Example
Package Json
Code Explanation
Expected Behavior
The cursor should not automatically shift to the pincode field when custom attributes are updated in this way.
Observed Behavior
The cursor automatically shifts to the pincode field after each updateAttributes call, creating a disrupted user experience.
Possible Cause
It seems that the frequent updateAttributes calls may be triggering a re-render or interfering with the form's focus handling, particularly in the pincode field.
Additional Information
I have attached a video demonstrating this behavior for reference.
https://github.com/user-attachments/assets/fb2e2e36-0580-40f0-a7d5-3bc33915867a
The text was updated successfully, but these errors were encountered: