Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8130c29c authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Fix blank page on browsers without support for ResizeObserver



ResizeObserver was used unconditionally, which caused the Calendar to
fail to load and show a blank page on some older browsers without
support for it. Now ResizeObserver is used only when supported.

ResizeObserver ensures that the calendar grid is properly sized when the
navigation bar and sidebar are opened and closed. It also ensures that
the text areas are properly sized when shown in the sidebar.

Given that they are mostly "cosmetic" issues and that they should not
affect many users no fallback was added for those browsers without
support for ResizeObserver.

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent 22fe47c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment