pontoon
pontoon copied to clipboard
Should not depend on React internals when targeting comment tab
This issue was created automatically by a script.
Bug 1714370
Bug Reporter: @mathjazz Depends on: Bug 1685565 See also: https://bugzilla.mozilla.org/show_bug.cgi?id=1712446
According to bug 1712446, understanding of commentTabRef would be helpful to fix this bug.
The current use of commentTabRef.current._reactInternalFiber.index was introduced in #1676, and should be replaced with an approach that uses public interfaces only.