MCPcopy Index your code
hub / github.com/callstack/react-native-paper / overflowLeft

Function overflowLeft

src/components/Tooltip/utils.ts:36–38  ·  view source on GitHub ↗
(center: number)

Source from the content-addressed store, hash-verified

34 * The tooltip will be placed at the starting x-coordinate from the wrapped element.
35 */
36const overflowLeft = (center: number): boolean => {
37 return center < 0;
38};
39
40/**
41 * Return true when the tooltip center x-coordinate + tooltip width is greater than the layout width

Callers 1

getTooltipXPositionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…