@coras-io/embed 0.6.4 → 0.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -41,7 +41,9 @@ let CorasDrawer = class CorasDrawer extends OverlayMixin(LitElement) {
|
|
|
41
41
|
}
|
|
42
42
|
static { this.styles = styles; }
|
|
43
43
|
focusPanel() {
|
|
44
|
-
|
|
44
|
+
// The panel is still translated off-screen when focus lands, so a plain
|
|
45
|
+
// focus scrolls the overflow-hidden wrapper to reveal it before the slide.
|
|
46
|
+
this.panel.focus({ preventScroll: true });
|
|
45
47
|
}
|
|
46
48
|
render() {
|
|
47
49
|
const classes = {
|