Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Fix for CodeHint Description CSS Issue #14728

Merged
merged 2 commits into from
Apr 25, 2019
Merged

Fix for CodeHint Description CSS Issue #14728

merged 2 commits into from
Apr 25, 2019

Conversation

shubhsnov
Copy link
Collaborator

To calculate the offset for the code hint description I was using a dummy div earlier. This was causing the parent element (anchor for the codehint menu) to inherit the height of the dummy div and overlap with certain area of the editor outside of the codehint list. Due to this we were not able to put cursor on the overlapped area.

Solution: Fixing this issue by using a modified approach which doesn't require a dummy div. Instead, we rely on absolute positioning and adjust the top margin on the description box according to codehint menu height.

ping @swmitra @narayani28 @niteskum for review.

Copy link
Collaborator

@swmitra swmitra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job, again!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants