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

can we avoid scrolling to an element using arrow keys? #54

Open
ankushbkadam opened this issue Dec 3, 2020 · 0 comments
Open

can we avoid scrolling to an element using arrow keys? #54

ankushbkadam opened this issue Dec 3, 2020 · 0 comments

Comments

@ankushbkadam
Copy link

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,

<div class="myWrapper">
    <h1>header element</h1>
    
    <!-- this will be extra div and can be toggled using block actions -->
    <div class="extraDiv">
         <!-- new code -->
    </div>
</div>

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?

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

No branches or pull requests

1 participant