mirror of
https://github.com/codex-team/editor.js
synced 2024-06-13 03:12:21 +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
|
# Changelog
|
||||||
|
|
||||||
|
### 2.24.3
|
||||||
|
|
||||||
|
- `Fix` — Issue with toolbox preventing text selection fixed
|
||||||
|
|
||||||
### 2.24.2
|
### 2.24.2
|
||||||
|
|
||||||
- `Fix` — Scrolling issue when opening toolbox on mobile fixed
|
- `Fix` — Scrolling issue when opening toolbox on mobile fixed
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@editorjs/editorjs",
|
"name": "@editorjs/editorjs",
|
||||||
"version": "2.24.2",
|
"version": "2.24.3",
|
||||||
"description": "Editor.js — Native JS, based on API and Open Source",
|
"description": "Editor.js — Native JS, based on API and Open Source",
|
||||||
"main": "dist/editor.js",
|
"main": "dist/editor.js",
|
||||||
"types": "./types/index.d.ts",
|
"types": "./types/index.d.ts",
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
max-height: 0;
|
max-height: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
|
||||||
@apply --overlay-pane;
|
@apply --overlay-pane;
|
||||||
|
|
||||||
|
@ -19,6 +20,7 @@
|
||||||
&--opened {
|
&--opened {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
max-height: 270px;
|
max-height: 270px;
|
||||||
|
pointer-events: auto;
|
||||||
animation: panelShowing 100ms ease;
|
animation: panelShowing 100ms ease;
|
||||||
|
|
||||||
@media (--mobile) {
|
@media (--mobile) {
|
||||||
|
|
Loading…
Reference in a new issue