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.

[Switch] Display processing status

See original GitHub issue

Source: https://material.io/components/selection-controls/selection-controls.html#switches

material-ui switch processing

I know, there’re cases on where the “optimistic UI” approach would save you from having to show a progress indicator, but there’re some cases where this is so much needed!

Please, consider adding this feature. I’d love to have a loading or processing prop perhaps…

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

13reactions
sergiolenzacommented, Jan 29, 2020

Hi guys. For anyone interested in this particular case I made this codesandbox:

https://codesandbox.io/s/switch-loading-state-vpinv

As @nuragic said, thanks to how the API has been built, we can use composition to achieve it.

I can put it as a demo in the switch demo page if you wish @oliviertassinari

1reaction
nuragiccommented, Jan 29, 2020

Thanks! I think it would be great to add this example in the docs, yup!

Read more comments on GitHub >

github_iconTop Results From Across the Web

mui/material-ui - [Switch] Display processing status - GitHub
I know, there're cases on where the "optimistic UI" approach would save you from having to show a progress indicator, but there're some...
Read more >
How to show process status on a switch in android?
A processing status is an animation on the thumb of the switch. For example, it can be used when a switch that controls...
Read more >
Solid Color on Screen - Nintendo Support
The information in this article can help you when the Nintendo Switch screen is orange, blue, or any other solid color, and will...
Read more >
Switches - Material Design
Display processing status. Because a switch shows the actual status of something, sometimes there is a delay in its change of state.
Read more >
System Health Monitoring - Cisco
recommend that you monitor the switch CPU, memory, file systems, and environmental ... Use the show version command to retrieve the overall switch...
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