Skip to content

CheckIsSoftKeyboardUpParams

Parameters for checkIsSoftKeyboardUp.

Import:

import type { CheckIsSoftKeyboardUpParams } from 'obsidian-integration-testing';

Signature:

export interface CheckIsSoftKeyboardUpParams

Properties

PropertyTypeDescription
baselineSnapshotSoftKeyboardViewportSnapshotThe geometry read **before** the first touch, with the keyboard still down.

Required, and deliberately not optional: an absent baseline could only mean falling back to the absolute-offset test, which is the vacuous pass this parameter exists to make unrepresentable.
minimumKeyboardHeightInPixels?numberThe least a raised keyboard lifts the field by, so a stray rounding pixel is not read as one.
snapshotSoftKeyboardViewportSnapshotThe geometry to judge, read after the touch.

Links to this page: