When using b-datepicker
on its own, with button-only
set, the label will have both the sr-only
and h-auto
classes enabled.
This causes a 1px width, with auto height label, resulting in an invisible 1x500px strip.
When the component is used towards the bottom of a page, this will cause a scrollbar to appear where it is not needed, or wanted.
I've attached an image to demonstrate:
b-datepicker
towards the bottom of the page in button-only
modeThe label should not have h-auto
and sr-only
at the same time
Libraries:
@nuxt/core
: 2.14.11Environment:
I believe the error is here: https://github.com/bootstrap-vue/bootstrap-vue/blob/v2.20.1/src/utils/bv-form-btn-label-control.js#L236
As far as I can tell, it needs to be updated to match: https://github.com/bootstrap-vue/bootstrap-vue/blob/v2.20.1/src/utils/bv-form-btn-label-control.js#L283
However, I have not tested this!
I added a remedial fix with the following css:
.sr-only.h-auto { height: 1px !important; }
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4