GithubHelp home page GithubHelp logo

Comments (14)

gnbm avatar gnbm commented on July 22, 2024

@abenhamdine feel free to do a PR to fix that (keep in mind that the use case for accessibility needs to be fixed as well)

from virtual-select.

gnbm avatar gnbm commented on July 22, 2024

@abenhamdine could you please share a codepen with that use case?

from virtual-select.

abenhamdine avatar abenhamdine commented on July 22, 2024

@abenhamdine could you please share a codepen with that use case?

I will try to find time to do it.
But I think any case where you init the select without options, then provide the options later, should exhibit the bug.

from virtual-select.

gnbm avatar gnbm commented on July 22, 2024

@abenhamdine could you please share a codepen with that use case?

I will try to find time to do it. But I think any case where you init the select without options, then provide the options later, should exhibit the bug.

Could you replicate it here? Maybe I'm missing something and you can go from that example and fork it

from virtual-select.

gnbm avatar gnbm commented on July 22, 2024

@abenhamdine any update on this?

from virtual-select.

funnygod avatar funnygod commented on July 22, 2024

When I try to use allowNewOption with an empty option, it also causes the search input to be disabled. Could you please enable the search input when allowNewOption is true? it worked perfectly before version 1.0.41

from virtual-select.

gnbm avatar gnbm commented on July 22, 2024

When I try to use allowNewOption with an empty option, it also causes the search input to be disabled. Could you please enable the search input when allowNewOption is true? it worked perfectly before version 1.0.41

@funnygod I would say it would be better to create a separate issue and include a working example for your scenario that is not the same as reported here.
I might also be missing something but I'm not being able to replicate what you mentioned.

from virtual-select.

funnygod avatar funnygod commented on July 22, 2024

When I try to use allowNewOption with an empty option, it also causes the search input to be disabled. Could you please enable the search input when allowNewOption is true? it worked perfectly before version 1.0.41

@funnygod I would say it would be better to create a separate issue and include a working example for your scenario that is not the same as reported here. I might also be missing something but I'm not being able to replicate what you mentioned.

Thank you, I will open a new issue.

from virtual-select.

gnbm avatar gnbm commented on July 22, 2024

@abenhamdine any update on this? Did you get the chance to create a sample and/or test this with the latest version?

from virtual-select.

gnbm avatar gnbm commented on July 22, 2024

Hi @abenhamdine
I had a similar issue to #319 so I decided to look at the code and try to fix this.
Created a draft PR with a possible solution, could you please help validate this before opening the PR itself (I'm just having some issues running the tests, where 3 are failing, even though I can't manually get any error but would like double check to mitigate the risk of introducing any regression issue)? Does it help on this particular issue, since I was not able to reproduce it?
You'll need to get my branch, build it and use the Dev Tools overrides.

from virtual-select.

abenhamdine avatar abenhamdine commented on July 22, 2024

Hi @abenhamdine I had a similar issue to #319 so I decided to look at the code and try to fix this. Created a draft PR with a possible solution, could you please help validate this before opening the PR itself (I'm just having some issues running the tests, where 3 are failing, even though I can't manually get any error but would like double check to mitigate the risk of introducing any regression issue)? Does it help on this particular issue, since I was not able to reproduce it? You'll need to get my branch, build it and use the Dev Tools overrides.

hi, thx to try fix this
I assume this particular change aims to fix this issue : https://github.com/sa-si-dev/virtual-select/pull/325/files#diff-c05424d9560afeceb2af0a702e65eceb831b7a202b14940261f43dec5a4b285eR2784 ?

from virtual-select.

gnbm avatar gnbm commented on July 22, 2024

Hi @abenhamdine I had a similar issue to #319 so I decided to look at the code and try to fix this. Created a draft PR with a possible solution, could you please help validate this before opening the PR itself (I'm just having some issues running the tests, where 3 are failing, even though I can't manually get any error but would like double check to mitigate the risk of introducing any regression issue)? Does it help on this particular issue, since I was not able to reproduce it? You'll need to get my branch, build it and use the Dev Tools overrides.

hi, thx to try fix this I assume this particular change aims to fix this issue : https://github.com/sa-si-dev/virtual-select/pull/325/files#diff-c05424d9560afeceb2af0a702e65eceb831b7a202b14940261f43dec5a4b285eR2784 ?

Hi. Since I was not able to reproduce it I just wanted to understand if you could test it for your scenario since you never ended up sharing a sample with this issue.

from virtual-select.

abenhamdine avatar abenhamdine commented on July 22, 2024

I just have tested version 1.0.43 and this issue is kind of mitigated, but still occurs : search input is still disabled when the user open the dropdown at first time, but when the dropdown is closed then reopened, the search input is now enabled.

from virtual-select.

gnbm avatar gnbm commented on July 22, 2024

I just have tested version 1.0.43 and this issue is kind of mitigated, but still occurs : search input is still disabled when the user open the dropdown at first time, but when the dropdown is closed then reopened, the search input is now enabled.

As mentioned, I was not able to replicate it so to fix it you can give it a try since I won't have time to dedicate to this atm.
If I can help with something I'll try to validate it. But it would be important to have a sample where that can be replicated, like other members did

from virtual-select.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.