add explainitory comment

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2020-09-17 16:41:22 -04:00
1 parent ad3c9ee3b9
commit f45625fb3c
1 file changed
+6
+6
View File
@@ -18,6 +18,12 @@ export class Badge extends React.Component<Props> {
{label} {label}
{children} {children}
</span> </span>
{ /**
* This is a zero-width-space. It makes there be a word seperation
* between adjacent Badge's because <span>'s are ignored for browers'
* word detection algorithmns use for determining the extent of the
* text to highlight on multi-click sequences.
*/}
&#8203; &#8203;
</> </>
} }