ember-api-docs icon indicating copy to clipboard operation
ember-api-docs copied to clipboard

jumping to a section using a sticky header isn't properly placing scroll

Open toddjordan opened this issue 6 years ago • 2 comments

cc @knownasilya @simonihmig

When I go to the index list for a class (in this case EmberArray), and click a method (in this case mapBy), the scroll jumps to objectAt, which wasn't the case prior to the update to include sticky headers. Seems that all links are slightly off, some more than others.

toddjordan avatar Apr 03 '19 19:04 toddjordan

I can confirm that when disabling sticky-element, the scroll works correctly. Also looks like maybe https://github.com/kaliber5/ember-sticky-element/issues/38 is the reason? I say maybe because I am not familiar with the ember-sticky add-on.

Charizard avatar Apr 12 '19 01:04 Charizard

@Charizard Looks like a possibility. We maybe should consider disabling the feature until we get a resolution.

toddjordan avatar Apr 17 '19 02:04 toddjordan