Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

170
Views
How can i hide main scrollbar on vuetify?

I have an app created with vuetify and i want to hide the main scrollbar when my dialog is open. For example, there is two scrollbar when the dialog is open: https://i.stack.imgur.com/a4xt7.png

I just want to hide the main scrollbar only when the dialog is open. This is what I have tried :

document.body.style.overflow = "hidden";

but it doesn't work.

Here is where the code being implemented :

async mounted() {
    this.$store.commit("SET_LOADING", true);
    try {
      await this.loadData();
      if (!this.item) {
        this.$showDialog({
          title: "Something Wrong",
          body: `Member not found!`,
        });
        this.closePage();
      } else {

        // here
        document.body.style.overflow = "hidden";
        await this.$store.dispatch("area/get");
        this.role = this.item?.roles[0];
        if (
          this.item?.user &&
          this.$store.state.user?.roles?.find(
            (x) => x == this.$roles.Admin
          )
        )
          this.email = this.item?.user.email;
      }
    } catch (error) {
      Promise.reject(error);
    } finally {
      this.$store.commit("SET_LOADING", false);
    }
  },
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!