question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RTL is not working in the latest beta

See original GitHub issue

Describe the bug Setting [rtl: true] in [quasar.conf.js] results in this error when building the app with “quasar dev”

 TypeError: Cannot read property 'unprefixed' of undefined

  - keyframes.js:5 Object.<anonymous>
    [WebApp]/[postcss-rtl]/lib/keyframes.js:5:35   [line 5: const unprefixed = postcss.vendor.unprefixed;]

  - loader:1092 Module._compile
    node:internal/modules/cjs/loader:1092:14

I searched and found that “vendor” has been removed in postcss 8+ according to postcss/postcss#1372

And the current installed postcss in quasar is 8.2.7 while “postcss-rtl”: “^1.7.3” is still expecting vendor, and no one is supporting this repo anymore.

To Reproduce A new project with “rtl” set to true:

Expected behavior “quasar dev” should run smoothly

Platform (please complete the following information): Quasar Version: 2.0.0-beta.9 @quasar/app Version: 2.2.3 Quasar mode:

  • SPA

Tested on:

  • SPA

OS: Windows 10 Node: v15.11.0 NPM:7.6.1

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rstoenescucommented, Apr 25, 2021

This ticket is obsolete now. Fixed while upgrading q/app to use Webpack 5 AND switching from postcss-rtl to postcss-rtlcss in the process. Will work correctly with “@quasar/app” v3.0.0-beta.16.

0reactions
webSongNO1commented, Sep 25, 2021

(I asked for the version because you reported 2.2.3 initially)

Sorry about that 😊

I tried Yarn and It’s working.

So I looked for the PostCSS version and found out that Yarn is installing PostCSS version “7.0.35”, just the one before the 8th… which is compatible with PostCSS-RTL.

thank you! The perfect solution to my problem. Check the package.lock to see if the bear version is “7.0.36”

Read more comments on GitHub >

github_iconTop Results From Across the Web

Initial RTL support - Bear Beta
My problem is how to handle mixed languages documents, and I'm struggling to understand what's the expected behaviour. Thanks! jondror April 2, 2020 ......
Read more >
RTL · Bootstrap v5.0
Learn how to enable support for right-to-left text in Bootstrap across our layout, components, and utilities.
Read more >
2.3.1. Exploring the RTL Analyzer (Beta) - Intel
You can invoke the RTL Analyzer (Beta) from the Elaborated checkpoint of the Analysis & Elaboration stage by clicking on the magnifier icon ......
Read more >
rank math 1.0.43 problem in RTL site | WordPress.org
Hi after update to 1.0.43 all rtl site have this problem we cant change title ... You can disable the Beta updates once...
Read more >
swift - Disable RTL on specific UIViewController in iOS
I have tried forcing semanticContentAttribute to Left-to-Right but it is not working. self.view.semanticContentAttribute = .forceLeftToRight.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found