Skip to content
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

Overscroll indicators shown #234

Open
RobinBobin opened this issue Oct 17, 2021 · 3 comments
Open

Overscroll indicators shown #234

RobinBobin opened this issue Oct 17, 2021 · 3 comments
Labels

Comments

@RobinBobin
Copy link

RobinBobin commented Oct 17, 2021

Hello,
How can I get rid of the overscroll indicators (Android 9)? Please have a look at the video attached. My code:

export default function App() {
  return (
    <SafeAreaView
      style={{
        backgroundColor: "yellow",
        flex: 1,
        padding: 30
      }}
    >
    <Canvas
      ref={canvas => {
        if (canvas) {
          canvas.height = 300;
          canvas.width = 350;
          
          const ctx = canvas.getContext("2d");
          
          ctx.fillRect(0, 0, canvas.width, canvas.height);
        }
      }}
    />
    </SafeAreaView>
  );
};
Edited_20211017_164155.mp4
@RobinBobin
Copy link
Author

That's only a workaround, but in my case setting the parent view pointerEvents to none solved it.

@iddan iddan added the bug label Dec 17, 2021
@iddan
Copy link
Owner

iddan commented Dec 17, 2021

@RobinBobin do you think it should be added to the library?

@RobinBobin
Copy link
Author

It might seem strange, but I doubt. Imagine someone needs it for a mysterious reason 🙂. But I'm pretty sure the Readme should contain the info how to disable it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants