InterviewDB
Question
·
Los Angeles
Split Pane: Implement a UI Split Pane Component With Draggable Divider and Min/Max Constraints
phone
Question Details
Problem Build a split pane UI component in JavaScript/TypeScript. The component divides a container into two resizable panels separated by a draggable divider. Each panel has a minSize (px) and optionally a maxSize. The divider cannot be dragged past these constraints. Example behavior: Follow-ups Which mouse/touch events do you attach and where — on the divider, document, or container? How do you handle resize of the outer container (e.g., browser window resize) without violating constraints? H…
Full Details
🔒
Unlock all Warp questions
Full insider details, leaked discussions, and candidate experiences.
Get full access — $100 a year, unlimited accessAbout This Question
This is a reported interview question from a warp interview during the phone round.