Code Monkey home page Code Monkey logo

react-glitch-effect's People

Contributors

catalinmiron avatar dependabot[bot] avatar sakalx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

react-glitch-effect's Issues

Unable to Resolve Module

Steps to reproduce:

Basically, after running npm install react-glitch-effect and importing using:

import GlitchClip from 'react-glitch-effect/core/Text'; or;
import GlitchClip from 'react-glitch-effect/core/Clip';

I get the "Unable to Resolve Module..." error for styles.css.

Here are my dependencies:
"dependencies": { "@expo/vector-icons": "~10.0.6", "@react-native-community/masked-view": "0.1.6", "@react-navigation/bottom-tabs": "^5.0.0", "@react-navigation/native": "^5.0.0", "@react-navigation/stack": "^5.0.0", "@react-navigation/web": "~1.0.0-alpha.9", "@use-expo/font": "^2.0.0", "expo": "^37.0.7", "expo-asset": "~8.1.3", "expo-constants": "~9.0.0", "expo-font": "~8.1.0", "expo-web-browser": "~8.1.0", "react": "~16.9.0", "react-dom": "~16.9.0", "react-native": "https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz", "react-native-elements": "^1.2.7", "react-native-gesture-handler": "~1.6.0", "react-native-safe-area-context": "0.7.3", "react-native-screens": "~2.2.0", "react-native-web": "~0.11.7" }, "devDependencies": { "@babel/core": "^7.8.6", "babel-preset-expo": "~8.1.0", "jest-expo": "~37.0.0" },

Can't control the interval between each 2 animations in `GlitchClip`

First of all thanks for this wonderful package

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
I would like to control the interval between every two animations in GlitchClip
Sadly this isn't possible, the only possible thing is to change the duration property which controls both the animation duration and the interval between the animations.

Decrease delay between glitches

In this screen recording, I have the duration prop set to 3s (default), which adds a 3s delay in between each glitch.
glitch

If I decrease duration to 1s, the glitch happens after every second, but the glitch animation is also sped up. Is there a way to decouple these two ideas with the props available?

If not, happy to open a PR with any recommended steps

It works in development but the build fails when in production

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

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.