You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create structure and make Data S-Group with 'Field name' and 'Field value'
With 'Selection tool' hover over created S-Group
Actual behavior
S-Group pop-up tool tip is positioned so that it overlaps structure and makes it difficult to interact with structure. Expected behavior
S-Group pop-up tool tip is positioned so that it doesn't overlap a structure.
Should make a pop-up tooltip away from highlighted S-Group structure. Screenshots
2023-02-14_17h29_14.mp4
Desktop (please complete the following information):
…ture (#2289)
* Change Calculation of the position for InfoPanel component. For template structure calculation do not change at all.
For now it calculates according to the green rectangle that appears when user hovering over the element.
Function calculateMiddleCoordsForRect calculate middle coord for each side of the rect.
After that panel appears relativly to the middle point of side.
- created WrapperPositionedRelativeToRectangle component.
- moved calculateScrollOffsetX , calculateScrollOffsetY into helpers.ts to reduce code duplication
- created calculateMiddleCoordsForRect accepts array of arrays [[1,2], [3,4], [3,4]] => [{ x: 2, y: 3 }, { x: 3, y: 4}]
- added wrapperRef on div to get dinamically changed width / height of the element
* - fixed issue with selection tool
* - fixed eslint error
* - fixed comments
---------
Co-authored-by: Konstantin Zharich <kostantin_zharich@epam.com>
Steps to Reproduce
Actual behavior
S-Group pop-up tool tip is positioned so that it overlaps structure and makes it difficult to interact with structure.
Expected behavior
S-Group pop-up tool tip is positioned so that it doesn't overlap a structure.
Should make a pop-up tooltip away from highlighted S-Group structure.
Screenshots
2023-02-14_17h29_14.mp4
Desktop (please complete the following information):
Ketcher version
Version 2.8.0-rc.2
Additional context
#184560284
The text was updated successfully, but these errors were encountered: