---
# System prepended metadata

title: Unresolved API surface questions
tags: [one-library]

---

---
tags: one-library
---

# Unresolved API surface questions

### Links


### Open questions

> Please add issues to resolve below:

> # {component name}
> Contact: { your name}
> 
> - [ ] { issue here }
> - [ ] { issue here }
> - [ ] { issue here }

# FocusZone

Content: Mak

- Duplicate props with different names: We are in the process of making changes to both v0's and v7's `FocusZone` to lean them closer together. In doing an evaluation of the differences between the two libraries, we noticed that there are a couple of props that are essentially the same between both versions but have different names. These props are:

| v7's name                         | v0's name                  | Type | Description |
|-----------------------------------|----------------------------|------|-------------|
| `onBeforeFocus`                   | `shouldReceiveFocus`       | `(childElement?: HTMLElement) => boolean` | Callback method for determining if focus should indeed be set on the given element. |
| `isInnerZoneKeystroke`            | `shouldEnterInnerZone`     | `(ev: React.KeyboardEvent<HTMLElement>) => boolean` | Callback function that will be executed on keypresses to determine if the user intends to navigate into the inner (nested) zone. Returning true will ask the first inner zone to set focus. |
| `doNotAllowFocusEventToPropagate` | `stopFocusPropagation`     | `boolean` | Whether the FocusZone should allow focus events to propagate past the FocusZone. |
| `IPoint's` `x` and `y`            | `Point's` `left` and `top` | `interface { number; number }` | |
| `onFocusNotification`             | `onFocus`                  | `(event: React.FocusEvent<HTMLElement | FocusZone>) => void` | Callback called when focus event is triggered in FocusZone. |