Re: [csswg-drafts] Make child visible outside of `overflow: hidden` (#4092)

Apply a fixed position to the container you want to overflow and set transform: scale(1) on the parent div above the one with overflow: hidden.

```
.parent {
  transform: scale(1);
}

.locationSuggestions {
  width: 100%;
  max-width: 400px;
  border: 1px solid;
  position: fixed;
  background-color: yellow;
  height: 600px;
}
```

Here, the parent is the div above the container.

-- 
GitHub Notification of comment by preeti-192
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4092#issuecomment-2409933855 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 14 October 2024 04:42:55 UTC