We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed61e7a commit edaf2d3Copy full SHA for edaf2d3
src/components/table/mobile/responsive_context.ts
@@ -29,7 +29,8 @@ export const useIsEuiTableResponsive = (
29
30
const isBoolean = typeof breakpoint === 'boolean';
31
32
- // We use ! and minBreakpoint to more accurately reflect the single point at which tables collapse
+ // Note: we're using `!useIsWithinMinBreakpoint` here instead of `useIsWithinMaxBreakpoint`
33
+ // because it more accurately reflects the single breakpoint at which tables collapse
34
const isResponsive = !useIsWithinMinBreakpoint(isBoolean ? '' : breakpoint);
35
return isBoolean ? breakpoint : isResponsive;
36
};
0 commit comments