Skip to content

Commit 1330943

Browse files
pdanpdanrstoenescu
authored andcommitted
QInput/QResizeObserver on Firefox: fix spinner and object keyboard navigation (quasarframework#2556)
It looks like at least firefox adds tab navigation to <object> close quasarframework#2550
1 parent 9e51c3c commit 1330943

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/observables/QResizeObservable.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export default {
5555
return h('object', {
5656
style: this.style,
5757
attrs: {
58+
tabindex: -1, // fix for Firefox
5859
type: 'text/html',
5960
data: this.url,
6061
'aria-hidden': true

src/css/core/helpers.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
overflow hidden !important
4545

4646
.q-no-input-spinner
47-
-moz-appearance textfield
47+
-moz-appearance textfield !important
4848
&::-webkit-outer-spin-button,
4949
&::-webkit-inner-spin-button
5050
-webkit-appearance none

0 commit comments

Comments
 (0)