This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
All buttons regardless of markup should get active state #5009
Closed
Description
When I click a button like this
<a data-role="button" href="#page2">Page 2</a>
it works fine.
However this
<button id="test">Test</button>
does not work. It fires the tap event but does not change css to the tapped state and then back to normal.
It appears that only buttons that are either linked to another page or buttons that submit forms will properly relay feedback to the user. I want to have a button on a page that handles a request for me without going anywhere. The tap event does work but the user gets no feedback that something has happened.