Skip to content

Commit

Permalink
feat(time-grid): changed condition
Browse files Browse the repository at this point in the history
  • Loading branch information
eduhdev12 authored Oct 27, 2023
1 parent 416267d commit 94ed226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TimeGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ export default class TimeGrid extends Component {

const content = this.contentRef.current

if (!content || !content?.scrollHeight) return
if (!content?.scrollHeight) return
let isOverflowing = content.scrollHeight > content.clientHeight

if (this.state.isOverflowing !== isOverflowing) {
Expand Down

0 comments on commit 94ed226

Please sign in to comment.