maz-ui icon indicating copy to clipboard operation
maz-ui copied to clipboard

[Issue][MazPhoneNumberInput] country select list obstructed inside a div that hides overflow

Open jacobg opened this issue 6 months ago • 2 comments

Describe the bug

If the MazPhoneNumberInput is inside a div with hidden overflow, then the country select list will be obstructed by that div.

A solution would be to make the select list use vue teleport to put the select list at the root of the dom.

See example screenshots below where it's used with Ionic Vue inside an ion-item element, which is basically a div with hidden overflow.

Screenshots

Image Image

jacobg avatar Jun 10 '25 20:06 jacobg

Hi @jacobg,

Yes, it will be fixed in V4. The popover component to handle this is already ready; I just need to finish the implementation.

Thanks :)

LouisMazel avatar Jun 12 '25 09:06 LouisMazel

Amazing, thank you @LouisMazel ! I appreciate all your gracious help over the years. Best regards.

jacobg avatar Jun 12 '25 11:06 jacobg

Hi @jacobg,

The v4 has been released 😊 Now the component uses the popover feature and component

By the way: The MazPhoneNumberInput has been renamed to MazInputPhoneNumber, and its properties API has changed a little bit.

The component documentation: https://maz-ui.com/components/maz-input-phone-number

If you are using IA, an MCP is available to help you: https://maz-ui.com/guide/mcp

A migration guide is available: https://maz-ui.com/guide/migration-v4

If you have any questions or comments, I would be happy to receive them.

Thank you for your loyalty over the years, and your feedback still very useful

LouisMazel avatar Aug 11 '25 09:08 LouisMazel

@LouisMazel That's great news! Congratulations! Thanks so much! I'll check it out soon.

jacobg avatar Aug 11 '25 11:08 jacobg