Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set .CodeMirror z-index to 0 #175

Merged
merged 1 commit into from Mar 26, 2020
Merged

Set .CodeMirror z-index to 0 #175

merged 1 commit into from Mar 26, 2020

Conversation

StefKors
Copy link

When using easy-markdown-editor in context with other packages to build forms. The easy-markdown-editor package causes problems with the stacking order.

Setting the base z-index to 0 instead of 1 will solve this issue

Example

easy-markdown-editor used together with react-select

Before

Screenshot 2020-03-25 at 17 27 47

After

Screenshot 2020-03-25 at 17 27 57

@A-312
Copy link

A-312 commented Mar 26, 2020

Ok for me, I tried on my project:

Before

image

After

image

@Ionaru Ionaru merged commit 8d7ba01 into Ionaru:master Mar 26, 2020
Ionaru added a commit that referenced this pull request Apr 2, 2020
StefKors added a commit to balena-io-modules/rendition that referenced this pull request May 18, 2020
This PR updates React-simplemde-editor to 4.1.1. It is part in a string of updates to fix a z-index issue in [easy markdown editor](Ionaru/easy-markdown-editor#175)

Change-type: patch
Signed-off-by: Stef Kors <stef@balena.io>
StefKors added a commit to balena-io-modules/rendition that referenced this pull request May 21, 2020
This PR updates React-simplemde-editor to 4.1.1. It is part in a string of updates to fix a z-index issue in [easy markdown editor](Ionaru/easy-markdown-editor#175)

Change-type: patch
Signed-off-by: Stef Kors <stef@balena.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants