smoothkeyscroll / issues

https://github.com/smoothkeyscroll/issues/issues
1 stars 0 forks source link

Re-target Smooth Key Scroll when an offcanvas is opened #12

Open mruac opened 2 years ago

mruac commented 2 years ago

Site: Feedly.com When opening a feed item / article in Title-Only, Magazine or Cards view, a viewer for the article is opened from the side (Offcanvas), but Smooth Key Scroll does not switch its focus to the article viewer. Pressing up/down when the article viewer is open continues to scroll in the background (feed viewer), and the article viewer only picks up one step of the normal arrow key scroll.

franciscolourenco commented 1 year ago

Bootstrap 5 Offcanvas emits events which we could use to focus the offcanvas element. In Feedly, these events don't see to be emitted. I'm not sure what else we could use to detect an off canvas opening.