alvarotrigo/vue-fullpage.js

Can't hide fixed elements in a specific section and can't create a menu that recognizes the active slides

peter2606 opened this issue · 3 comments

I'm trying to hide my bnav and the menus only on the first section, also the SlidesMenu is not working since it's only recognizing the active sections.

That's the link of what i did and if you scroll through slides you can see that the SlidesMenu is not working. I assume it is related to the anchors, but so far i did not understand if it's possible to create data-menuanchors for the slides.
https://codesandbox.io/s/loving-sammet-c7lgb?file=/src/components/FullPage.vue

Steps to reproduce it

  1. [Scroll to the second section]
  2. [Scroll through slides]

Versions

[Google Chrome, Mac]

You have two options:

1 - You can use fullpage.js state classes to use CSS conditions.

2- You can use fullPage.js callbacks to trigger your code on different states of your site.

I hope that helps you here :)

Thanks!! :)
Glad you managed to make it work!