Skip to content

Commit

Permalink
Adding inputMode='none'
Browse files Browse the repository at this point in the history
Adding inputMode='none' to ansDisplay, so that no keyboard is displayed on mobile devices when ansDisplay in focus...
  • Loading branch information
Ankit-Matth authored Jan 1, 2024
1 parent 4efbd7d commit 5d21742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<body>
<div class="calculator">
<div class="screen">
<input type="text" name="ansDisplay" id="ansDisplay" autofocus spellcheck="false" oninput="checkOverflow()">
<input type="text" name="ansDisplay" id="ansDisplay" inputmode="none" autofocus spellcheck="false" oninput="checkOverflow()">
</div>
<div class="btns">
<div class="row">
Expand Down

0 comments on commit 5d21742

Please sign in to comment.