Untitled

mail@pastecode.io avatar
unknown
plain_text
16 days ago
291 B
2
Indexable
Never
setTimeout(() => {
  if (showAlterListType === 'Room' || qtyRooms <= 1) {
    if (summaryScrollRef.current) {
      summaryScrollRef.current.scrollIntoView();
    }
  } else {
    if (hotelSelectedScrollRef.current) {
      hotelSelectedScrollRef.current.scrollIntoView();
    }
  }
}, 500);
Leave a Comment