ClipsDescendants does not respect BorderMode

Issue Type: Display
Impact: Moderate
Frequency: Constantly
Date First Experienced: 2021-04-10 13:04:00 (+01:00)
Date Last Experienced:

Reproduction Steps:

  1. Open repro file: border-clip.rbxl (22.9 KB)
  2. Observe that the inner frame is clipped within the outer edge, rather than the border-padded inner area

No Studio Beta features enabled
Studio Version 0.473.0.420291
Windows 10 64-bit

Expected Behavior:
When Middle or Inset BorderModes are used, the content area is padded by the amount of the border that reaches inwards. This happens correctly already.

This padded content area should be accounted for by ClipsDescendants. In the repro file, the outer frame’s content should be clipped within the inner area inside the border.

image

Actual Behavior:
The outer frame’s content is clipped within the outer boundaries rather than the inner area.

image

Workaround:
Create an invisible borderless frame inside the outer frame to use as the clipping frame instead.

6 Likes

Hi @sircfenner - thanks for the detailed bug report! I created a ticket to investigate this.

6 Likes