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

Using ngx-drag-scroll in ng bootstrap modal causes flash while opening modal #275

Open
1 of 3 tasks
malwinalesniewska opened this issue Jan 20, 2021 · 3 comments
Open
1 of 3 tasks

Comments

@malwinalesniewska
Copy link

malwinalesniewska commented Jan 20, 2021

  • I'm submitting a ...

    • bug report
    • feature request
    • support request => Please do not submit support request here, see note at the top of this template.
  • Do you want to request a feature or report a bug?

Report a bug

  • What is the current behavior?

I use ng bootstrap modal in my application. When I add drag-scroll to my modal-component, opening this modal causes flash.

  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem you can use the demo site as an example or via https://plnkr.co

here you can check this behavior - https://angular-fha7kn.stackblitz.io

  • What is the expected behavior?

modal should open normally

  • What is the motivation / use case for changing the behavior?

  • Please tell us about your environment:

    • Version: ^9.0.0-beta.4
    • Angular 10.2.0
    • OS: Windows
    • Browser: [ Chrome, Firefox, Opera, Edge - these I checked ]
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
    looks like some issue with the styles, I don't know whether from ng bootstrap or ngx-drag-scroll, do u have any ideas?

@malwinalesniewska malwinalesniewska changed the title Using ngx-drag-scroll in ng bootstrap modal caused flash while opening modal Using ngx-drag-scroll in ng bootstrap modal causes flash while opening modal Jan 20, 2021
@bfwg
Copy link
Owner

bfwg commented Jan 23, 2021

I can't seem to open your example https://angular-fha7kn.stackblitz.io

@malwinalesniewska
Copy link
Author

malwinalesniewska commented Jan 23, 2021 via email

@bfwg
Copy link
Owner

bfwg commented Jan 25, 2021

I see the issue now, but I'm not sure how to solve it, honestly. If you have time, I would recommend you play around with the example from source with ng-model and see if you can spot which line of code is causing this.

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

2 participants