Closes #3282582
Please QA other cases than the one described in the issue, where dropdown button style is applied, to confirm that the fix does not break any existing functionality.