Skip to content

fix: GoogleAddressLookup size grows for selected address with long text  #2628

@wildergd

Description

@wildergd

When using GoogleAddressLookup and we select a place with a long text.. the input is enlarged instead of cropping the text.

  • I have searched the issues of this repository and believe that this is not a duplicate.

Describe the bug

When using GoogleAddressLookup and we select a place with a long text.. the input is enlarged instead of cropping the text.

##Screenshots

Screen.Recording.2023-07-28.at.10.47.00.a.m.mov

To Reproduce 🕹

Steps to reproduce the behavior:

  1. Go to GoogleAddressLookup example
  2. Click on Show Code
  3. change maxWith in containerStyles to 300px
  4. in the input search for San Francisco and select San Francisco Airport

Expected Behavior 🤔

it should cropt the text and keep input size

Current Behavior 😯

the input value is enlarged

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