Describe the bug
Disabled buttons still can be clicked to send their events when using Safari on iOS or iPadOS. This seems to be OS or browser related because latest FireFox in Windows 11 or Safari in macOS 15.1 react as expected.
According to the library documentation disabled buttons should not only look like disabled to the user, they should not ‘fire’ their events when the ‘setEnabled(ID, false)’ is set.
Optically this seems to work, but in my last try is still fires the event when I click on the disabled button when using iOS or iPadOS.
buttonUpdateNowID = ESPUI.button("Update to the new software now", &buttonUpdateNow, ControlColor::Dark, "Start software update now", (void*)1);
ESPUI.setEnabled(buttonUpdateNowID, false);
To Reproduce
Steps to reproduce the behavior:
Add a button similar like in the short code snippet above
Click on the disabled button with Safari (iPadOS or iOS) and with Firefox (Windows 11) or Safari on macOS 15.1
Check the reaction on the device.
Expected behavior
A disabled buttons should not forward actions when someone clicks on it when it is not enabled.
Screenshots
Desktop (please complete the following information):
OS: Windows 11 or macOS 15.1
Browser FireFox / Safari
Version 132 / 15.1
Smartphone (please complete the following information):
Device: iPad Pro M4 or iPhone 15 Pro Max
OS: iPadOS / iOS 18.1
Browser: Safari
Version 18.1
Additional context
Add any other context about the problem here.
Describe the bug Disabled buttons still can be clicked to send their events when using Safari on iOS or iPadOS. This seems to be OS or browser related because latest FireFox in Windows 11 or Safari in macOS 15.1 react as expected.
According to the library documentation disabled buttons should not only look like disabled to the user, they should not ‘fire’ their events when the ‘setEnabled(ID, false)’ is set.
Optically this seems to work, but in my last try is still fires the event when I click on the disabled button when using iOS or iPadOS.
To Reproduce Steps to reproduce the behavior:
Expected behavior A disabled buttons should not forward actions when someone clicks on it when it is not enabled.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.