question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multiline autocomplete

See original GitHub issue

💬 Question

In AutoComplete component i’ve set multiline at true and numberOfRow at 4 . The result is: the component growth till 4 lines, but if i have only 1 line the component show only one line:

image

image

But if i set the height atleast 200px if i have only one line, the component not show the gray square directly for 4 lines.

 <Autocomplete
          inputStyle={{
            color: 'black',
            height: 350,
            width: 250,
          }}

image

UI Kitten and Eva version

Package Version
@eva-design/eva 4.4.1
@ui-kitten/components 4.4.1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

2reactions
artyorshcommented, Mar 3, 2020

@pasalino agreed. Thanks for posting this. However, there is a workaround for this. You may pass height directly to Autocomplete without using style

<Autocomplete                
  height={200}               
  {...props}     
/>                           

Should work, but warn if you use typescript

0reactions
pasalinocommented, Mar 3, 2020

it work!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiline options for Material UI autocomplete - Stack Overflow
I'm trying to make an autocomplete where each option has firstName and lastName of a user on the first line and their id...
Read more >
[Autocomplete] Autocomplete with multiline TextField ... - GitHub
Autocomplete component with multiline text field doesn't handle cursor correctly on mouse click when a text was entered.
Read more >
Angular Multi Line Autocomplete - StackBlitz
Highlight the first autocomplete option.
Read more >
IRB's multi-line autocomplete and how to disable it
Recent IRB versions include a multi-line autocomplete which may be helpful to novice users but can be distracting.
Read more >
Textbox - Pode.Web - GitHub Pages
To change the textbox to be multilined you ca supply -Multiline . Textboxes also allow you to specify -AutoComplete values.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found