material icon indicating copy to clipboard operation
material copied to clipboard

Web browser scrollbar blinking on <md-dialog> dismiss

Open epool opened this issue 12 years ago • 10 comments

I'm having a scrollbar blinking mistake when I close the dialog, earlier I was working with bower install angular-material(yesterday, I think was V0.5.0) but when I started to work with bower install angular-material#master I started to have this behavior on my page.

20141112-161739_capture

Here is the source code: http://jsfiddle.net/eduardo_pool/osqLhhm7/1/

Earlier with bower install angular-material(V0.5.0) this didn't happend.

epool avatar Nov 12 '14 23:11 epool

@epool - plz create two (2) separate issues. And we will respond.

ThomasBurleson avatar Nov 13 '14 16:11 ThomasBurleson

sure, I did it, the new issue is #639.

epool avatar Nov 13 '14 16:11 epool

Is there a separate issue created for the scrollbar blinking issue. I could not find it. Anyway here is a Plunker for this http://plnkr.co/edit/WTrRd3F3NspuVi7QvGNF?p=preview

prasannapattam avatar Nov 28 '14 13:11 prasannapattam

no, this is the blinking issue.

epool avatar Dec 09 '14 01:12 epool

@epool can you verify whether this is still happening, and if so, which browser/OS? I'm not seeing scrollbars with the current version (0.8.3). There are layout issues inside of the dialog since it hasn't been styled to accommodate the newer components, but otherwise it looks fine.

marcysutton avatar Mar 13 '15 00:03 marcysutton

Closing this issue due to inactivity, if the issue persists let me know and we can reopen.

marcysutton avatar Mar 18 '15 22:03 marcysutton

Can confirm that its still there. Chrome - Version 41.x Horizontal scrollbar animated out on body.

IE11 Horizontal and Vertical scrollbars animateout.

I'll investigate a bit more but just wanted to confirm it.

Using 0.8.3.

Psvensso avatar Mar 25 '15 09:03 Psvensso

It can be fixed with a overflow: hidden on the .md-dialog-container but might cause side effects? :)

Psvensso avatar Mar 25 '15 09:03 Psvensso

@marcysutton I can also confirm, on Chrome 43.0.2357.130 m, Angular Material 10.0, Angular 1.4.0.

@Psvensso Yeah, I am using overflow:hidden !important; on the body. So far I haven't noticed any side effects, but I wouldn't be surprised if there are some.

theblang avatar Jun 25 '15 04:06 theblang

+1

.md-dialog-container { overflow: hidden !important; } is the best option for fixing this in my opinion.

stefan-schweiger avatar Jun 29 '15 08:06 stefan-schweiger