josdejong / josdejong/jsoneditor

Render context menu and color picker absolute instead of relatively positioned

Open
#571 3 comments 1 reaction 0 assignees View on GitHub
feature
Dominant language
JavaScript
Stars
12.3k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

Right now, the context menu and color picker cannot overflow the jsoneditor. When the editor is small, this can look like:

![image](https://user-images.githubusercontent.com/568626/44538214-00801500-a701-11e8-89e6-7ac9a41d1069.png)

It would be nice if the popups can overflow the editor. This has been difficult in the past to achieve (issues with positioning in bootstrap and materialize modals), but it's probably easy to do since all browsers now support `getBoundingClientRect`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.