The Wayback Machine - https://web.archive.org/web/20201009044915/https://github.com/angular/angular/issues/39156
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

Show All not working on api/common/http/HttpRequest #39156

Closed
frederikprijck opened this issue Oct 7, 2020 · 2 comments
Closed

Show All not working on api/common/http/HttpRequest #39156

frederikprijck opened this issue Oct 7, 2020 · 2 comments

Comments

@frederikprijck
Copy link
Contributor

@frederikprijck frederikprijck commented Oct 7, 2020

📚 Docs or angular.io bug report

Description

On the https://angular.io/api/common/http/HttpRequest link, clicking the Show All underneath the constructor doesnt expand the section. Clicking anywhere else (e.g. on 3 overloads) works fine.

🔬 Minimal Reproduction

What's the affected URL?

https://angular.io/api/common/http/HttpRequest

Reproduction Steps

  • Scroll to the constructor section
  • Click Show All or the Carret behind it

Expected vs Actual Behavior

It should expand while currently it does not.

📷Screenshot

image

🔥 Exception or Error

N/A

🌍 Your Environment

Browser info

Chrome Version 85.0.4183.121 (Official Build) (64-bit)

@ngbot ngbot bot modified the milestone: Backlog Oct 7, 2020
@petebacondarwin

Loading…

Member

@petebacondarwin petebacondarwin commented Oct 7, 2020

The Show All is wrapped in an <a> tag, which is blocking the click from reaching the enclosing <summary> tag.
Removing the <a> wrapper fixes the behaviour but messes up the styling. So I think just a bit of tweaking in

<a>
<span class="show-all">Show All</span>
<span class="collapse-all">Hide All</span>
<i class="material-icons expand">expand_more</i>
</a>

and
summary {
height: inherit;
padding: 0;
h4 {
margin: 0;
clear: left;
}
.show-all {
display: initial;
}
.collapse-all {
display: none;
}
}

is needed.

@marcinmilewicz

Loading…

@marcinmilewicz marcinmilewicz commented Oct 7, 2020

I'd take it

ChellappanRajan added a commit to ChellappanRajan/angular that referenced this issue Oct 8, 2020
ChellappanRajan added a commit to ChellappanRajan/angular that referenced this issue Oct 8, 2020
@atscott atscott closed this in dace4aa Oct 8, 2020
atscott added a commit that referenced this issue Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.