Skip to content

Commit

Permalink
style: Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tjtanjin committed Feb 11, 2024
1 parent b690bc3 commit dc525d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ChatBotContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ const ChatBotContainer = ({ flow }: { flow: Flow }) => {
}

if ("virtualKeyboard" in navigator) {
// @ts-ignore
// @ts-expect-error virtualkeyboard type unknown
navigator.virtualKeyboard.overlaysContent = true;
// @ts-ignore
// @ts-expect-error virtualkeyboard type unknown
navigator.virtualKeyboard.addEventListener("geometrychange", (event) => {
const { x, y, width, height } = event.target.boundingRect;
// width does not need adjustments so only height is adjusted
Expand Down

0 comments on commit dc525d4

Please sign in to comment.