File tree 2 files changed +8
-2
lines changed
src/lib/output/themes/default/assets/typedoc
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 10
10
### Bug Fixes
11
11
12
12
- Fixed conversion of ` NoInfer ` missing type parameter reference, #2539 .
13
+ - Linking to a member on a page no longer incorrectly claims that
14
+ "This member is normally hidden due to your filter settings" for every member.
13
15
14
16
### Thanks!
15
17
Original file line number Diff line number Diff line change @@ -42,8 +42,9 @@ export class Application {
42
42
// We're on a *really* slow network connection and the inline JS
43
43
// has already made the page display.
44
44
if ( ! document . body . style . display ) {
45
- this . scrollToHash ( ) ;
45
+ this . ensureFocusedElementVisible ( ) ;
46
46
this . updateIndexVisibility ( ) ;
47
+ this . scrollToHash ( ) ;
47
48
}
48
49
}
49
50
@@ -67,15 +68,18 @@ export class Application {
67
68
68
69
public showPage ( ) {
69
70
if ( ! document . body . style . display ) return ;
71
+ console . log ( "Show page" ) ;
70
72
document . body . style . removeProperty ( "display" ) ;
71
- this . scrollToHash ( ) ;
73
+ this . ensureFocusedElementVisible ( ) ;
72
74
this . updateIndexVisibility ( ) ;
75
+ this . scrollToHash ( ) ;
73
76
}
74
77
75
78
public scrollToHash ( ) {
76
79
// Because we hid the entire page until the navigation loaded or we hit a timeout,
77
80
// we have to manually resolve the url hash here.
78
81
if ( location . hash ) {
82
+ console . log ( "Scorlling" ) ;
79
83
const reflAnchor = document . getElementById (
80
84
location . hash . substring ( 1 ) ,
81
85
) ;
You can’t perform that action at this time.
0 commit comments