Closed kuemme01 closed 6 years ago
I recently create a pull request for you guy's that would enable that feature. Please have a look if it's not in conflict with your project in general.
@kuemme01 Thanks again. Give https://github.com/alsoscotland/react-super-select/tree/v1.0.19 a try
@kuemme01 just wanted to check once more if this worked for you. Thanks
Yes! We already implemented it on dev stage. Worked fine now! Again thank you for your fast support.
@kuemme01 Thanks for getting back to me. No problem. Glad you like the control
hi Guys, I use react-super-select as multiselect and find it annoying that the dropdown list always tries to center the last selected entry. I have already found the source for this behavior. It happens in the
componentDidUpdate
method wherethis._focusCurrentFocusedId();
is called. Could you control this call via a Boolean, which you could pass the<ReactSuperSelect />
component. Something like<ReactSuperSelect focusToSelectedValue = {false} />
that would be great. Is something like this planned for the future or could it be taken over as a feature? I already read a couple of forum posts of people who also struggle with that behavior and wish for a possibility to configure.I currently use the version react-super-select 1.0.8
Will be happy for an answer.