fix: Keyboard accessible context menus (#1768)
- Makes menus fully accessible and keyboard driven - Currently adds 2.8% to initial bundle size due to the inclusion of Reakit and its dependency, popperjs. - Converts all menus to functional components - Remove old custom menu system - Various layout and flow improvements around the menus closes #1766
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
// @flow
|
||||
import Compressor from "compressorjs";
|
||||
|
||||
type Options = Omit<Compressor.Options, "success" | "error">;
|
||||
type Options = { maxWidth?: number, maxHeight?: number };
|
||||
|
||||
export const compressImage = async (
|
||||
file: File | Blob,
|
||||
|
Reference in New Issue
Block a user