Disabling a button doesn't seem to be working
See original GitHub issueHi!
I’m trying to disable a button using the following code:
viewer.fullPageButton.disable()
In this example, the fullPageButton
should be disabled and clicking on it shouldn’t activate its funcionality. But that’s not what happens, as you can see in the video: https://drive.google.com/file/d/1towUUBhWgSVJfA3bKTqWYNo8NRRP3X8r/view?usp=sharing
Issue Analytics
- State:
- Created a year ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Disable not working for my button - Stack Overflow
The a tag doesn't have a disabled attribute. Take a look to the doc for the valid attributes that can have.
Read more >Disable button not working | Apple Developer Forums
I created a pointer modButton that is hooked with the Login butotn in the storyboard. I disabled it in the loginButton action method...
Read more >Frustrating Design Patterns: Disabled Buttons
Most implementations enable the button only if all required input seems to be well-formed, or/and has been verified by an inline validator.
Read more >Solved: Disabling a button? - Power Platform Community
Solved: Greetings, I'm having an issue with trying to make a button become disabled after it's been pressed once. I tried following the...
Read more >Making Disabled Buttons More Inclusive - CSS-Tricks
Try to navigate the demo above using only the Tab key to go forward and Tab + Shift to go backward. You'll notice...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@atilara In the meantime, I think the following should work - put this before you initialize a viewer:
Okay! Thank you both for taking your time to answer!