Hi.
I’m trying to build a scroll-area similar with the drawer but the scroll (if required) should be on horizontal as well.
At this moment it works great but only on one option. If I chain them and make one horizontal and one vertical - it fails on css.
Anybody has tried it and it worked for them?
Best posts made by SharpBCD
-
scroll-area for both horizontal and vertical
-
RE: Quasar v1.0 beta1 in a few days
We want it now!
We want it now!
We want it now!
(plus will it have a default dark theme? Please say “yes” )
Latest posts made by SharpBCD
-
RE: [Solved] PWA force refresh when new version released?
Solved with this pcs of code:
console.log('%c Service worker is active.', 'color: magenta', registration); const updateManual = () => { registration.update().catch((er)=>console.error('Error on update worker', er)); }; setInterval(updateManual, 500); // 500ms works for me, but you may want to set it higher. },``` in case someone else need it.
-
RE: [Solved] PWA force refresh when new version released?
I have read all documentation and this thread but I still encounter a problem. My service worker is not triggered when I update the server as it should, it is only triggered when I open a new tab and access the app again. Any suggestion? Can I force to check for updates every 5 seconds, let’s say?
-
scroll-area for both horizontal and vertical
Hi.
I’m trying to build a scroll-area similar with the drawer but the scroll (if required) should be on horizontal as well.
At this moment it works great but only on one option. If I chain them and make one horizontal and one vertical - it fails on css.
Anybody has tried it and it worked for them? -
RE: Updating to latest beta-version crash the existing app:
Solved, thanks to Allan Gaunt (EN-GB) on discordapp.
Solution: removenode_modules
folder
Reinstall using YARN and not NPM!Sorry npm, you will no longer be trusted.
-
Updating to latest beta-version crash the existing app:
This is happening to me the 2nd time. On first update from beta-0 to beta-2 it was the same. Back then I deleted the app and regenerate it with quasar cli, moved the code and all was great.
This time I want to make it work, I can’t re-create the project every time. Any suggestion?
Note:- I use npm.
- I tried to delete node_modules and install again, no effect.
ERROR Failed to compile with 1 errors error in ./src/router/routes.js Module parse failed: Unexpected token (8:13) You may need an appropriate loader to handle this file type. | path: '', | component: function component() { > return import('./../pages/Index.vue'); | } | }]
-
RE: Quasar v1.0-beta.3 released!
am I the only one who got the router broken on lazy load after upgrade to beta.3 ?
Module parse failed: Unexpected token (4:11) You may need an appropriate loader to handle this file type. | path: '/', | component: function component() { > return import('./../layouts/default-layout.vue'); | }, | children: [{ @ ./src/router/index.js 3:0-30 19:12-18 @ ./.quasar/app.js @ ./.quasar/client-entry.js @ multi (webpack)-dev-server/client?http://0.0.0.0:8080 (webpack)/hot/dev-server.js ./.quasar/client-entry.js
-
RE: How to create an element like Drawer: take all available height and scroll for the content that don't fit in.
@hawkeye64 I know, I found and used QScroolArea. My question was on how to calculate the height like QDrawer. I could not found it in the code on github.
-
RE: QModal in v1? Replaced by something else?
Yeap! Thanks @Narmer23 !
Off topic: do I have the stackoverflow “mark as answer” option?
-
QModal in v1? Replaced by something else?
Looks like there is no QModal in v1. Was it replaced by something else? Any suggestion for what to use instead?
-
RE: How to create an element like Drawer: take all available height and scroll for the content that don't fit in.
@hawkeye64 Thanks for suggestion. I did not find QScrollArea in v1 but I verify it on the v0.17.
Here is part of the code from docs at: https://quasar-framework.org/components/scroll-area.html
<q-scroll-area
style=“height: 200px”
[…]And the magic stopped at that height element. What I did not manage to do was to find an elegant method to make the element fit the available space on the screen (on y) and stay at that size. Scroll when the content is higher.
Anything I tried, except the barbarian height = 100vh - 70px which is just temporary until I find a way to get it done.
Is it even possible without javascript? I tried to see how quasar drawer is calculating the height but could not find it.