Skip to main content

All Questions

2 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
1k views

Check if any input on the page is focused lwc

I want to execute some logic in specific moment(from my LWC) if no Inputs has the focus on my Page. So I want to know if there is the focus on some input on the page ? (Logic is executed from an Event ...
Vitalii Dehnerys's user avatar
2 votes
0 answers
1k views

LWC: How to access clientHeight from within a component

I currently have document.documentElement.clientHeight in one of my LWC components. However looking at the latest release notes for Winter '20 it seems like this way of accessing the clientHeight will ...
Arthlete's user avatar
  • 5,039