new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Mantine · all subjects

floating-window/resize

4 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

FloatingWindow.ResizeHandle compound component adds resize functionality

FloatingWindow.ResizeHandle is a compound component that adds a resize handle to the floating window, allowing the window to be resized by the user.

dimensions prop controls FloatingWindow resize behavior

The dimensions prop controls the resize behavior of FloatingWindow and accepts the following properties: initialWidth and initialHeight (initial size of the window in px), minWidth and minHeight (minimum size the window can be resized to), and maxWidth and maxHeight (maximum size the window can be resized to).

Resize handle respects viewport constraints

The FloatingWindow.ResizeHandle respects constrainToViewport and constrainOffset props. The window cannot be resized beyond the viewport boundaries.

FloatingWindow.ResizeHandle keyboard interaction

FloatingWindow.ResizeHandle renders with role="separator" and supports keyboard interaction. Arrow Left and Arrow Right keys resize width, Arrow Up and Arrow Down keys resize height in 10px steps, and Home and End keys jump to the minimum and maximum sizes respectively.

Give your agent this brain