✌️
This commit is contained in:
		
							parent
							
								
									edb36d73f8
								
							
						
					
					
						commit
						8eaf1423c1
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -6,8 +6,7 @@ export function getScrollContainer(el: HTMLElement | null): HTMLElement | null { | |||
| 	if ( | ||||
| 		// xとyを個別に指定している場合、`hidden scroll`みたいな値になる
 | ||||
| 		overflow.endsWith('scroll') || | ||||
| 		overflow.endsWith('auto') || | ||||
| 		el.scrollHeight > el.clientHeight | ||||
| 		overflow.endsWith('auto') | ||||
| 	) { | ||||
| 		return el; | ||||
| 	} else { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue