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

Print preview doesn't include highlighted text for Chrome 99 when parent node contains overflow property. #45342

Closed
jedrzejiwanicki opened this issue Mar 14, 2022 · 3 comments
Labels
area: core Issues related to the framework runtime needs reproduction This issue needs a reproduction in order for the team to investigate further
Milestone

Comments

@jedrzejiwanicki
Copy link

Which @angular/* package(s) are the source of the bug?

Don't known / other

Is this a regression?

Yes

Description

Hi, I noticed following problem after the Chrome 99 upgrade.

The issue seems to be related to websites powered by Angular framework, this seems to be the only common variable I noticed across tested websites.

To recreate the issue please follow these steps:

  • Have your Chrome browser updated to 99
  • Access Angular powered application e.g https://transparencyreport.google.com/
  • In Dev Tools find any element containing text e.g h1, span etc.
  • Apply overflow: auto/hidden on the parent element
  • Highlight the text element with your cursor, open contextual menu and select Print
  • The preview window will open and the highlighted text will not be included.

Note 1: I noticed that in some cases it doesn't break when you apply the property on immediate parent, keep adding the property on next parent and eventually it will break.

Note 2: that the text node needs to be highlighted, selecting print without highlight will work(entire page will be included)

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in (run ng version)

No response

Anything else?

No response

@dylhunn dylhunn added the area: core Issues related to the framework runtime label Mar 24, 2022
@dylhunn dylhunn added this to the Backlog milestone Mar 24, 2022
@ngbot ngbot bot modified the milestones: Backlog, needsTriage Mar 24, 2022
@JoostK
Copy link
Member

JoostK commented May 27, 2022

I've just attempted to reproduce this in Chrome 101.0.4951.64 and don't observe the reported behavior. A self-contained reproduction would be appreciated.

@JoostK JoostK added the needs reproduction This issue needs a reproduction in order for the team to investigate further label May 27, 2022
@ngbot ngbot bot modified the milestones: needsTriage, Backlog May 27, 2022
@AndrewKushnir
Copy link
Contributor

Closing this issue, since there is no repro.

@AndrewKushnir AndrewKushnir closed this as not planned Won't fix, can't repro, duplicate, stale Jun 7, 2022
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jul 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: core Issues related to the framework runtime needs reproduction This issue needs a reproduction in order for the team to investigate further
Projects
None yet
Development

No branches or pull requests

4 participants