Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

trevor-davis-dover
Copy link
Contributor

Please check out Contributing Guidelines. By following this template you help us to review your code.
https://github.com/draft-js-plugins/draft-js-plugins/blob/master/CONTRIBUTING.md

Checklist

  • Fix any eslint errors that occur
  • Update change-log for every plugin you touch
  • Add/Update tests if you add/change new functionality
  • Add/Update docs if you add/change functionality
  • Enable "Allow edits from maintainers" for this PR

Use-case/Problem

A previous PR of mine added support for max-height parents by accounting for scrollTops on ancestor nodes of the draft editor root. However, we short-circuited erroneously when that scrollTop was 0. Instead, we should keep recursing up the DOM tree.

Briefly describe the use-case/problem you're solving, reference the issue for this bug/feature here

Implementation

Briefly describe your solution

Demo

If you're implementing or changing a feature, please add a gif to demo the change, thanks!

@trevor-davis-dover
Copy link
Contributor Author

@fxOne apologies, my fork was behind draft-js-plugins master. Fixed now, should be ready to go once checks pass.

@trevor-davis-dover
Copy link
Contributor Author

Also tagging @hatsu38 and @naveensrinivasan who seem to have write access. Sorry for the spam, it's hard tracking down who has recently contributed and has merge permissions.

@trevor-davis-dover
Copy link
Contributor Author

@nikgraf , would you be able to take a look at this?

@fxOne fxOne merged commit 0e9c878 into draft-js-plugins:master May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants