We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d308900 commit a7dff50Copy full SHA for a7dff50
packages/webui/src/client/lib/VirtualElement.tsx
@@ -340,19 +340,16 @@ export function VirtualElement({
340
measurements
341
? {
342
height: measurements.clientHeight + 'px',
343
- }
+ }
344
: !isShowingChildren
345
- ? {
346
- height: ((placeholderHeight || ref?.clientHeight) ?? 0) + 'px',
347
348
- : undefined
+ ? {
+ height: ((placeholderHeight || ref?.clientHeight) ?? 0) + 'px',
+ : undefined
349
}
350
>
351
{!isShowingChildren ? (
352
- <div
353
- className={`virtual-element-placeholder ${placeholderClassName}`}
354
- style={styleObj}
355
- ></div>
+ <div className={`virtual-element-placeholder ${placeholderClassName}`} style={styleObj}></div>
356
) : (
357
children
358
)}
0 commit comments