Material: mdDialog the page scrollTop on close

Created on 27 Apr 2017  路  4Comments  路  Source: angular/material

Actual Behavior:

  • What is the issue? * mdDialog the page scrollTop on close
  • What is the expected behavior? focus on clicked element instead of scroll to top of the page

AngularJS Versions: *

  • AngularJS Version: 1.5.8
  • AngularJS Material Version: 1.1.1

Additional Information:

  • Browser Type: * FireFox
  • Browser Version: * 49.0
  • OS: * Linux
  • Stack Traces:

In crome browser it's working properly.

Shortcut to create a new CodePen Demo.
Note: * indicates required information. Without this information, your issue may be auto-closed.

Do not modify the titles or questions. Simply add your responses to the ends of the questions.
Add more lines if needed.

fixed

Most helpful comment

Could you please check if the pull request #10549 does fix your issue?

PLEASE NOTE: This fix has not yet been merged. You need to build the material lib from raw source (not npm). I have described this process in more details in this comment: https://github.com/angular/material/issues/10588#issuecomment-296161827

All 4 comments

Could you please check if the pull request #10549 does fix your issue?

PLEASE NOTE: This fix has not yet been merged. You need to build the material lib from raw source (not npm). I have described this process in more details in this comment: https://github.com/angular/material/issues/10588#issuecomment-296161827

@veritas Has the fix been merged yet? Seems like this is becoming a big issue.

Edit: Just updated and realised it has. Thanks!!

@amritk which version has fixed issue. can you tee me?

Confirmed the fix is working

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ddimitrop picture ddimitrop  路  3Comments

reggiepangilinan picture reggiepangilinan  路  3Comments

PeerInfinity picture PeerInfinity  路  3Comments

ghost picture ghost  路  3Comments

robertmesserle picture robertmesserle  路  3Comments