Fix dynamic row height calculation with scaled parent element #334
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
If there is
transform: scale(someNumber)
applied anywhere in the parent element tree, the dynamic row calculation will be wrong for scale values less than zero.Example: https://autodesk.github.io/react-base-table/playground#MYewdgzgLgBKA2BXAtpGBeGBzApmHATgIZQ4DCISqEAFAIwAMAlAFCiSwAmJRG2ehEjgAiPGghSQANDABMDBa3bQYAMwIgAXnlFRemXPmKldRcZUkQZdGQHJ1WvAFoNAdye3WbcCtUBLAA8cTgoqNEwJagA6ZCIABxpzMJlIsABJME4cAKYMAD4YAG8WGBh4HFgHbTASmD9VGCTJDKyAmAAeGDpcqrw+UMkogDENauE-AhxgKD9wKIAZAFEhgBVa+sbUluyYAoAOHtG+zAHUYaOwccnp2bAogCU0gHEACTXSyahEAjAimCiAakZL1fgBfFigrzKWDZOJETKnMAAaRwAE8+LZUk4GLYWCwAPT4mBETicGAQEDIHDkxAAIzqpGQEBYqhABEa5Vgfj4DAA3HUOl0FPy-ABqUW5Yqlbh6KJxRAQAAWNClpX+AJlRAA2gwALpSWqlPycABcMAABgASQqanW6qLG0FOCB0pzWvyg80GtUwOGTMBQNKmmC2vUOzjetVa2HwkIWVAo1G6s3mgDKdJg7s9kchtU1coVytVpQBUVtsn1hrqwatNp4Wor4adLtpbsKHq9Vb9eEDwfL9uNkdK0YCcIR8eRaOTFvT9KzndKuelPALSpVVdL-aH1ZT1v7TedrpbbY72+7AaDu7regbA84zdd8+3I7HcbCienadds8z7eztVzcFvA4GAoEmEQeD4RAwFUeASFIMAaE1LxYTZLgcFUIhEHgWAaFydAChoWp2k4PwADdySgVFynQQpClA4hIFZAhkDNWwIGAIhyhoBgogAViYWwYFBUE8mIlYiFpcoq38IJOCrVIIFo2TgkRCBwR9TVaLAnAIL0DS1RBUxlIuUwDNKGNx3fNFaMst9JETcyYBwaA-FiUhOHuEBXBeHA-CwRUoFogA2BgDPxMTSnafFSLIsTWCAA