Jump to content
Search Community

wisead

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by wisead

  1. 3 hours ago, elegantseagulls said:

    I'm not seeing any issues in Firefox on Mac osX, however, I've noticed on other sites that animate large SVGs have some issues in FF (and especially Safari). This is, I believe, because animating SVG components (<path>, etc) cannot take advantage of hardware acceleration. Your best bet, if you keep running into issues, might be to rebuild your graphics/animation using <canvas>.

    Thank you! And i think that canvas help solve the problem

    • Like 1
  2. HI for everybody! I need your help guys to fix the problem with animation in my NuxtJS project. Here is the link http://wisead.ru

    It works good in Chrome, Opera, IE, Edge, but i don't know why it doesnt work good in ff

     

    I just use this code

        animateLines() {
          this.linesRotation = new TimelineMax({})
          this.linesRotation.staggerTo(this.lines, .5, {scale: .6, rotation: this.rotateDeg, ease: Power3.easeInOut}, .035)
          this.linesRotation.staggerTo(this.lines, .5, {scale: 1, ease: Power3.easeInOut}, .035, "-=1.5")
          this.rotateDeg += 90
        }

     

     

  3. 16 hours ago, GreenSock said:

    Hi @wisead. Welcome to the forums. Can you provide more details? What errors are you getting? Which file are you using (ES module, UMD, minified)? Do you have a reduced test case you can provide that reproduces the error? We know it works with Nuxt.js, as it seems plenty of others have done so successfully, but I'm not sure what configuration is necessary on the Nuxt side of the equation. It'd definitely help get you a better quality answer if you provided a reduced test case (or at least a few more details). We'd like to help. 

     

    Cheers!

    Thank you for response. I've find the best way to resolve this problem. That's how i did it:

    - just copy and paste "minified" folder in "plugins" directory of your project. Then go to "plugins/minfied/plugins" open any plugin file and enter the following code in the file

    export default (app) => {
     	//...plugin code here 
    }

     

    - then in nuxt.config.js file

    plugins: [
      { src: '~plugins/minified/plugins/PluginFileName.js', ssr: false },
      { src: '~plugins/minified/plugins/OneMorePluginFileName.js', ssr: false },
    ],

     

    and it works

    • Like 1
×
×
  • Create New...