mirror of
https://github.com/codex-team/editor.js
synced 2024-05-09 18:06:59 +02:00
[Fix] Toolbox prevents text selection (#2051)
* Add padding only to opened popover * Update version and changelog * Update docs/CHANGELOG.md Co-authored-by: Ilya Moroz <37909603+ilyamore88@users.noreply.github.com> * Use pointer event approach Co-authored-by: Ilya Moroz <37909603+ilyamore88@users.noreply.github.com>
This commit is contained in:
parent
f2b19cc766
commit
8fec2e71c3
|
@ -1,5 +1,9 @@
|
|||
# Changelog
|
||||
|
||||
### 2.24.3
|
||||
|
||||
- `Fix` — Issue with toolbox preventing text selection fixed
|
||||
|
||||
### 2.24.2
|
||||
|
||||
- `Fix` — Scrolling issue when opening toolbox on mobile fixed
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@editorjs/editorjs",
|
||||
"version": "2.24.2",
|
||||
"version": "2.24.3",
|
||||
"description": "Editor.js — Native JS, based on API and Open Source",
|
||||
"main": "dist/editor.js",
|
||||
"types": "./types/index.d.ts",
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
box-sizing: border-box;
|
||||
flex-shrink: 0;
|
||||
max-height: 0;
|
||||
pointer-events: none;
|
||||
|
||||
@apply --overlay-pane;
|
||||
|
||||
|
@ -19,6 +20,7 @@
|
|||
&--opened {
|
||||
opacity: 1;
|
||||
max-height: 270px;
|
||||
pointer-events: auto;
|
||||
animation: panelShowing 100ms ease;
|
||||
|
||||
@media (--mobile) {
|
||||
|
|
Loading…
Reference in a new issue