Fix #97530: Overlapping Content Causing Region Scrolling #107404
|
@ -3469,7 +3469,9 @@ static void ui_textedit_begin(bContext *C, uiBut *but, uiHandleButtonData *data)
|
|||
* #ui_but_update_view_for_active() to run after the layout is resolved. */
|
||||
but->changed = true;
|
||||
}
|
||||
else {
|
||||
else if ((but->block->flag & UI_BLOCK_CLIP_EVENTS) == 0) {
|
||||
/* Blocks with UI_BLOCK_CLIP_EVENTS are overlapping their region, so scrolling
|
||||
* that region to ensure it is in view can't work and causes issues. #97530 */
|
||||
UI_but_ensure_in_view(C, data->region, but);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue