Focus/highlight on page when editing in sidebar

Is there any way to have the page focus on the element being edited when using the sidebar?

If not, is there a way I could submit a PR or a plugin to make this happen, do you think?

This is totally possible, I’m just too lazy to write up a real example.

Basically just use InlineField and look at meta.focussed to decide whether or not to render the highlight. InlineField doesn’t have to be for editing

const Highlight = styled.div({`
   ${p => ? "border: none": ""}
  border: 2px solid blue;
  border-radius: 1.5rem;

export function MyComponent(props) {
  const [formData, form] = useForm(props);
  const { title } = formData;

  return (
    <InlineForm form={form}>
      <InlineField name="title">
        {({ meta }) => <Highlight active={meta.focussed}>
        </Highlight> )}