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.

Bug using AutoCompleteFixedItem and AutoCompleteGroup

See original GitHub issue

I have this list:

<AutoCompleteList>
  <AutoCompleteGroup title="Title" showDivider>
    <AutoCompleteItem value="1">Apple</AutoCompleteItem>
    <AutoCompleteItem value="2">Appoint</AutoCompleteItem>
  </AutoCompleteGroup>
  <AutoCompleteFixedItem value="F1">Fixed Item 1</AutoCompleteFixedItem>
  <AutoCompleteFixedItem value="F2">Fixed Item 2</AutoCompleteFixedItem>
</AutoCompleteList>

And this is what I see, as you can see The Fixed item 1 is duplicated

image

If I put the FixedItem Inside of the AutoCompleteGroup I can’t see none of those items

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
gepdcommented, Jul 14, 2021

I just started to test it and I found this and the previous one, I’ll wait for your fix to keep using this feature, thanks!

0reactions
gepdcommented, Jul 15, 2021

I mean, this does not work

<AutoCompleteList>
  <AutoCompleteGroup title="Title" showDivider>
    <AutoCompleteItem value="1">Apple</AutoCompleteItem>
    <AutoCompleteItem value="2">Appoint</AutoCompleteItem>
  </AutoCompleteGroup>
  <AutoCompleteGroup title="Title2" showDivider>
    <AutoCompleteFixedItem value="F1">Fixed Item 1</AutoCompleteFixedItem>
    <AutoCompleteFixedItem value="F2">Fixed Item 2</AutoCompleteFixedItem>
  </AutoCompleteGroup>
</AutoCompleteList>
Read more comments on GitHub >

github_iconTop Results From Across the Web

autocomplete does not stick when scrolling #10079 - GitHub
The autocomplete drop down list should stick to the bottom of input element when scrolling What is the current behavior?
Read more >
Fixed: Autocomplete is messed up in Outlook - Slipstick Systems
This is a bug in the latest Office updates and Microsoft is aware of the problem. The only workaround for Office 2016 and...
Read more >
Fixing Material UI Autocomplete Search As You Type - Lockstep
In this blog, we will take a closer look into an interesting fix for an autocomplete search issue that every developer faces.
Read more >
Fixed positioned search box with Autocomplete suggestions
With search box open, I scroll the window. This causes the autosuggestions box to be scrolled as well. What can I do to...
Read more >
AutoComplete not working correctly - Outlook - Microsoft Learn
In Outlook, select File > Options. Select the Mail tab. Scroll roughly halfway down until you see Send messages. Ensure the Use AutoComplete...
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