question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bounce on Focus (Disabling Animation)

See original GitHub issue

Is there anyway to disable the animation and directly jump to the focused input? When I use the nextKey to focus next input the animation jumps up and down.

I tried to change this in library with no luck:

feb-01-2017 18-48-50

  scrollToPosition: function (x: number, y: number, animated: bool = false) {
    const scrollView = this.refs._rnkasv_keyboardView.getScrollResponder()
    scrollView.scrollResponderScrollTo({x: x, y: y, animated: false}) // disable animation
  },

May be related to: https://github.com/APSL/react-native-keyboard-aware-scroll-view/issues/82

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12

github_iconTop GitHub Comments

4reactions
haddadnjcommented, Sep 20, 2017

I was able to fix this by adding blurOnSubmit={ false } to all of my inputs.

2reactions
alvarombcommented, Feb 3, 2017

Please use v0.2.7 and test again your issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Disable the Focus Ring Animation in Mac OS X
Open Terminal as usual and enter the following defaults command string to disable the focus ring animation throughout Mac OS X:.
Read more >
How to Disable Animations in Windows 10 - wikiHow
1. Open the Settings app. Press the Start button in the lower-left corner of your screen and select the settings gear. You can also...
Read more >
How to disable Microsoft Edge bouncing animation when ...
Go type "edge://flags" into the URL box and press enter. This will turn off bouncing animation on web pages in the browser.
Read more >
Accessible Web Animation: The WCAG on Animation Explained
More specifically, it states: Motion animation triggered by interaction can be disabled, unless the animation is essential to the functionality ...
Read more >
Accessibility in Practice: Animated Content
In this Accessibility in Practice, we explore the best ways to handle animated content for all users.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found