Closed
Description
Feature Description
CDK Overlay component creates a set of div-Elements
into the DOM. It would be much easier to write custom Positioning-Strategies
or Scroll-Strategies
if the div-Elements
had HTML id attributes.
Use Case
I was trying to write a custom Scroll-Strategy
for an overlay. My idea was to change some css properties on the overlay-div-Elements
to customize scrolling behaviour. Its very difficult to find the overlay div-Elements in the DOM without having an id attribute. I had to search the elements by css-class-names.
If css-style manipulation is not the recommended way to write custom Scroll-Strategies, please close the issue.