editor-js / editor-js/header

can we avoid scrolling to an element using arrow keys?

Open
#54 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
115
Forks
123
PR merge metrics
No merged PRs in 30d

Description

I am customizing the header tool as per the requirements
I have added another div for my requirements other than the header element like this,

```


header element








```

the **problem** is when it is added to editor.js and when we scroll between blocks using (up, down) arrow keys, it is also scrolling to the extraDiv I added, I dont want user to scroll to that element I newly added.

so for modified header block, it should scroll only to the header element skipping other elements

Is there any way we can avoid scrolling behavior for some of the elements from the created UI?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.