Skip to content

Longer Modal closes unexpectedly when interacting with the scrollbar #2013

@tlylt

Description

@tlylt

Please confirm that you have searched existing issues in the repo

Yes, I have searched the existing issues

Any related issues?

#1909

Tell us about your environment

Windows 10

MarkBind version

4.0.0

What did you do? Describe the bug

After the dual-modal issue is fixed, there's another problem of auto closing modal after an interaction with the scrollbar. This is less obvious as users can scroll via the mouse scroll wheel, which works fine.

Steps to reproduce

  • Open a modal with content longer than a page, which will render the scroll bar
  • Click or drag the scrollbar
  • See that the modal auto closes

Examples described below,

Expected behavior

Seeing from one of the previous deployment previews, users can use the scrollbar
https://deploy-preview-1795--markbind-master.netlify.app/userguide/syntaxcheatsheet
w87Sl6rPX9

Actual behavior

https://deploy-preview-2012--markbind-master.netlify.app/userguide/syntaxcheatsheet
Modal auto closes once user releases his/her click on the scrollbar
mqQoIkVh81

the

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions