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

Fix for issue #247 "unexpected scroll behavior" #248

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shea12
Copy link
Contributor

@shea12 shea12 commented Oct 23, 2020

Is your Pull Request request related to another issue in this repository ?
Yes, issue #247

Describe what the PR does
This PR removes a call to setState inside the time text editor component's updateTimestampsForEditorState method because it causes the scroll bug in the issue linked above. In testing, we did not find any adverse effects of removing the call to setState.

State whether the PR is ready for review or whether it needs extra work
Ready!

Additional context
Below is a screen recording of the fix to compare with the screen recording of the bug in the issue linked above.
react-transcript-editor-fix

@shea12 shea12 closed this Oct 28, 2020
@shea12 shea12 deleted the auto-scroll-bug-fix branch October 28, 2020 16:28
@shea12 shea12 restored the auto-scroll-bug-fix branch October 28, 2020 16:34
@shea12 shea12 reopened this Oct 28, 2020
@emettely emettely self-assigned this Oct 29, 2020
@emettely
Copy link
Contributor

Thanks @shea12 for the PR :)

@emettely emettely linked an issue Oct 29, 2020 that may be closed by this pull request
@emettely emettely added the bug Something isn't working label Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: unexpected scroll behavior after edit on long transcript
2 participants