forked from MapComplete/MapComplete
		
	TW Classes instead of inline; no pointer event "all"
The way I read https://developer.mozilla.org/de/docs/Web/CSS/pointer-events, `pointer-events: all` is a special SVG thing and what we want here, is what TW provides with `pointer-events-none` https://tailwindcss.com/docs/pointer-events so that event pass through.
This commit is contained in:
		
							parent
							
								
									9889b0d464
								
							
						
					
					
						commit
						821c97662b
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -131,8 +131,7 @@ export default abstract class BaseUIElement { | |||
|                     // @ts-ignore
 | ||||
|                     e.consumed = true; | ||||
|                 } | ||||
|                 el.style.pointerEvents = "all"; | ||||
|                 el.style.cursor = "pointer"; | ||||
|                 el.classList.add("pointer-events-none", "cursor-pointer"); | ||||
|             } | ||||
| 
 | ||||
|             if (this._onHover !== undefined) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue