fix: consider arrow for bound text element (#6297)

* fix: consider arrow for bound text element

* add spec
This commit is contained in:
Aakansha Doshi
2023-02-28 19:53:30 +05:30
committed by GitHub
parent 38fc51b4e3
commit bd4424bbe3
3 changed files with 67 additions and 2 deletions

View File

@ -2767,7 +2767,6 @@ class App extends React.Component<AppProps, AppState> {
);
if (container) {
if (
isArrowElement(container) ||
hasBoundTextElement(container) ||
!isTransparent(container.backgroundColor) ||
isHittingElementNotConsideringBoundingBox(container, this.state, [