Giter Site home page Giter Site logo

Comments (4)

juddlyon avatar juddlyon commented on June 12, 2024 2

I tried adding v-cloak along with:

[v-cloak] {
  display: none;
}

The modal still showed up so I reverted back to:

modal {
  display: none;
}

I don't think v-cloak works for SSR, I noticed some comments for Nuxt.js where it was stripped out during template compilation.

from gridsome-plugin-modal.

Spica2 avatar Spica2 commented on June 12, 2024 1

@sergeyfilimonov : I also had no success with v-cloak. Tried to put it on several points in the component and css. Switched back to display none.

from gridsome-plugin-modal.

juddlyon avatar juddlyon commented on June 12, 2024

Same issue. The modal was hidden on the first page load but showed up on subsequent page loads. I used the display none CSS @Spica2 mentioned and it seems to work okay now.

from gridsome-plugin-modal.

sergeyfilimonov avatar sergeyfilimonov commented on June 12, 2024

@Spica2 @juddlyon sorry for my late reply. Could you confirm the issue is still there? I think adding v-cloak param to the modal component might solve the issue.

from gridsome-plugin-modal.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.