Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upradio-group: does not scroll into view when changed #11503
Labels
Milestone
Comments
|
I created a CodePen to demonstrate how this behavior compares to the default HTML radio input. |
|
Hi! Is anyone working on this? |
|
I've implemented a (somewhat limited) workaround in a local codebase, in case anyone's need is urgent (requires scrollIntoViewIfNeeded and doesn't support model-less radio groups) This is a postLink function that decorates the original postLink
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Bug
When the user changes a radio group, the radio group should be scrolled into view if it's not currently visible (i.e. mimic the behavior of standard HTML inputs).
CodePen and steps to reproduce the issue:
AngularJS material demo
Detailed Reproduction Steps:
What is the expected behavior?
radio group is scrolled into view, so the user is aware their action has changed the input
What is the current behavior?
radio group remains off screen
What is the use-case or motivation for changing an existing behavior?
conformance with HTML input behavior
Which versions of AngularJS, Material, OS, and browsers are affected?
Is there anything else we should know? Stack Traces, Screenshots, etc.