plotly / dash

Data Apps & Dashboards for Python. No JavaScript Required.
https://plotly.com/dash
MIT License
21.26k stars 2.05k forks source link

[BUG] dcc.input does not show up on blackberry browser on iPad #2534

Closed e-wallace closed 2 months ago

e-wallace commented 1 year ago

Describe your context The spinner box for dcc.input(value=number) did not show up on Blackberry Access browser on an iPad or on other browser types on IOS devices

- OS: iOS
- Browser: all iOS devices use the same web rendering engine

Describe the bug

dcc.input(value=number) does not render the up/down arrows on mobile devices.

IMG_0187

Expected behavior Expected the arrows to show up and modify the number input.

Screen Shot 2023-05-19 at 11 05 30 AM
nickmelnikov82 commented 1 year ago

Greetings! Would it be possible for you to provide me with the code snippet that utilizes these arrows? It would greatly aid my comprehension of the error at hand.

alexcjohnson commented 1 year ago

Curious what this looks like on various browsers on Android. On iOS it may be intentional, but it looks like there may be CSS tricks to force the arrows to show up: https://davidwalsh.name/always-show-arrows-for-number-input (that post uses vendor-prefixed attributes, so there may be more)

alexcjohnson commented 1 year ago

Note that dcc.Input is a very light wrapper around the browser native <input> element, so we're dependent on the browser itself for extra features like this. You can also try dash-daq NumericInput that's a bit more custom-built.

nickmelnikov82 commented 1 year ago

Hello again. I managed to find an article with the same error as yours. And also two articles with similar errors: article1 and article2 I hope this helps you, if you have any questions, please do not hesitate to contact me, I will be happy to help or suggest something

gvwilson commented 2 months ago

Hi - we are tidying up stale issues and PRs in Plotly's public repositories so that we can focus on things that are most important to our community. If this issue is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. (Please note that we will give priority to reports that include a short reproducible example.) If you'd like to submit a PR, we'd be happy to prioritize a review, and if it's a request for tech support, please post in our community forum. Thank you - @gvwilson