Maybe we should enforce an empty border when a title is defined, but no border is explicitly defined? Sounds like a bug that should be fixed internally rather than adding a workaround for external use?
I'm not 100% certain whether the current behavior is the right behavior here. To me there's a bit of ambiguity - titles generally occupy the space that would be bordered, but when there isn't a border defined, or the top/bottom border is not enabled, then I'm not sure that the border style should be used.
Maybe we should enforce an empty border when a title is defined, but no border is explicitly defined? Sounds like a bug that should be fixed internally rather than adding a workaround for external use?
_Originally posted by @EdJoPaTo in https://github.com/ratatui-org/ratatui/pull/1182#discussion_r1642510885_
I'm not 100% certain whether the current behavior is the right behavior here. To me there's a bit of ambiguity - titles generally occupy the space that would be bordered, but when there isn't a border defined, or the top/bottom border is not enabled, then I'm not sure that the border style should be used.