You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,6 +130,19 @@ For most cases, it is recommended to use the <code>onLayoutChanged</code> callba
130
130
<td><p>Called after the Group's layout has been changed.</p>
131
131
<p>ℹ️ For layout changes caused by pointer events, this method is not called until the pointer has been released.
132
132
This method is recommended when saving layouts to some storage api.</p>
133
+
</td>
134
+
</tr>
135
+
<tr>
136
+
<td>resizeTargetMinimumSize</td>
137
+
<td><p>Minimum size of the resizable hit target area (either <code>Separator</code> or <code>Panel</code> edge)
138
+
This threshold ensures are large enough to avoid mis-clicks.</p>
139
+
<ul>
140
+
<li>Coarse inputs (typically a finger on a touchscreen) have reduced accuracy;
141
+
to ensure accessibility and ease of use, hit targets should be larger to prevent mis-clicks.</li>
142
+
<li>Fine inputs (typically a mouse) can be smaller</li>
143
+
</ul>
144
+
<p>ℹ️ <ahref="https://developer.apple.com/design/human-interface-guidelines/accessibility">Apple interface guidelines</a> suggest <code>20pt</code> (<code>27px</code>) on desktops and <code>28pt</code> (<code>37px</code>) for touch devices
145
+
In practice this seems to be much larger than many of their own applications use though.</p>
0 commit comments