<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/1dfdf25d641f410b8f0d9f971d943820&quot; frameborder=&quot;0&quot; width=&quot;1920&quot; height=&quot;1440&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>1440</height><width>1920</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>1440</thumbnail_height><thumbnail_width>1920</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/1dfdf25d641f410b8f0d9f971d943820-9e7049acf66b09c2.gif</thumbnail_url><duration>55.446</duration><title>Modal Flip Behavior and Focus Control</title><description>This Loom explains an updated modal positioning behavior that flips the modal when there is not enough space at the bottom. It notes that when there is sufficient space, the UI determines the maximum available space and iterates through the list accordingly. The speaker also emphasizes that a useEffect is still needed to control the focus mechanism, since they tried without it. They mention a similar pattern already used in the codebase for the note summoning menu, where the same behavior was enabled for where the note menu pops up.</description></oembed>