[RTL][SCSS] rtl:ignore is not respected during `quasar build`
See original GitHub issueWhen using scss
or sass
using the special syntax of #{"/* rtl:ignore */"};
for signaling the rtlcss
to ignore this rule during build process, will not do anything and the direction will be flipped anyway.
Since #8073 these rtl:ignore
rules are used in core positioning classes and this issue causes a RTL Quasar project to be pretty much unusable with current version because everything for example QHeader
will have positioning problem and won’t stretch to the whole width of screen.
Steps to reproduce on a freshly created Quasar v1.14.7
project:
- set
lang: 'fa-ir'
andrtl:true
inquasar.conf.js
quasar build && cd dist/spa && quasar serve
- try closing the drawer and see the header will shrink to its content width.
This does not happen during development using quasar dev
and happens only with quasar build
which makes this a very tricky issue because the problem won’t be seen until the project is deployed and everything during development looks fine.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (5 by maintainers)
Top GitHub Comments
Fix is available in “@quasar/app” v2.1.11.
Yes. Proposed changes seems to fix the problem.