Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InputAccessoryView - Up and Down arrows are not working #482

Closed
satya-imaginea opened this issue May 6, 2022 · 5 comments
Closed

InputAccessoryView - Up and Down arrows are not working #482

satya-imaginea opened this issue May 6, 2022 · 5 comments

Comments

@satya-imaginea
Copy link

this.togglePicker(false, onDownArrow);

If onDownArrow/onUpArrow prop was provided, the this.onDownArrow will be called which closes the selector options instead of moving the selected option up/down. This is happening as we are calling the this.togglePicker(false, <onDown/UPArrow>) when we click on the Up/down arrows of InputAccessoryView. 'done' action is working fine as its purpose is to close the selection widget.

@Nsquik
Copy link

Nsquik commented Jun 2, 2022

Yea same problem, probably need to make a fork of this project to suit it for your needs...

Or have you found another solution?

@satya-imaginea
Copy link
Author

Yea same problem, probably need to make a fork of this project to suit it for your needs...

Or have you found another solution?

We have hidden the up&down arrows as they are optional :)

KornelKwiatkowski added a commit to KornelKwiatkowski/react-native-picker-select that referenced this issue Nov 15, 2022
@lfkwtz
Copy link
Contributor

lfkwtz commented Nov 16, 2023

that's how the picker functions natively on the web - which this project tries to emulate

@lfkwtz lfkwtz closed this as completed Nov 16, 2023
@lfkwtz lfkwtz closed this as not planned Won't fix, can't repro, duplicate, stale Nov 16, 2023
@hotaryuzaki
Copy link

Yea same problem, probably need to make a fork of this project to suit it for your needs...
Or have you found another solution?

We have hidden the up&down arrows as they are optional :)

how to hidden it? i tried some props but not succeed

@hotaryuzaki
Copy link

Yea same problem, probably need to make a fork of this project to suit it for your needs...
Or have you found another solution?

We have hidden the up&down arrows as they are optional :)

how to hidden it? i tried some props but not succeed

ok i found it

style={{ inputIOS: styles.inputIOS, chevronUp: { display: "none" }, chevronDown: { display: "none" }, done: { color: Colors.colorLevel51 } }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants