-
-
Notifications
You must be signed in to change notification settings - Fork 914
feat: added web support #1150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: added web support #1150
Conversation
* chore: updated dependencies * feat: rewrite the gesture api with gh2
|
Hey Mo! Thank you so much for your work! Can you upgrade to the latest Reanimated version please? Right now we are experiencing this issue: |
|
In 2.3x reanimated, Extrapolate.CLAMP becomes Extrapolation.CLAMP. I think Did a PR 😄 - #1152 |
|
can replace all |
|
Also experiencing this issue: |
|
when this feature is going to be supported? |
|
This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
|
Can't be tested using the branch since And if you try to So try using yarn or use |
|
And when you try to build... Hard to try this way. |
|
I am having a hard time to test this properly. // NEXT_PUBLIC___DEV__ needs to be defined in .env file
if (process.env.NEXT_PUBLIC___DEV__) {
global.__DEV__ = process.env.NEXT_PUBLIC___DEV__;
}
if (typeof requestAnimationFrame === "undefined") {
global.requestAnimationFrame = (cb) => cb();
}
if (!global.setImmediate) {
global.setImmediate = (cb) => setTimeout(cb, 0);
}
// https://github.com/software-mansion/react-native-reanimated/issues/3355
if (!global._frameTimestamp) {
global._frameTimestamp = null;
}After that, the thing does not work. Sometimes it display the thing you want but in some case not (I am working on a responsive website so this lib is used for small viewport only). |
|
@gorhom any chance of getting a |
Motivation
This PR will introduce the first official web support for this library. The feature been tested on:
So far it works as expected but there are some limitations:
More testing is needed.