Browse Source

fix: set the correct activce classname for stickyScrollBar (#6169)

pull/5629/head^2
DMQ 2 years ago committed by GitHub
parent
commit
034f71c005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/vc-table/stickyScrollBar.tsx

2
components/vc-table/stickyScrollBar.tsx

@ -230,7 +230,7 @@ export default defineComponent<StickyScrollBarProps>({
onMousedown={onMouseDown}
ref={scrollBarRef}
class={classNames(`${prefixCls}-sticky-scroll-bar`, {
[`${prefixCls}-sticky-scroll-bar-active`]: isActive,
[`${prefixCls}-sticky-scroll-bar-active`]: isActive.value,
})}
style={{
width: `${scrollBarWidth.value}px`,

Loading…
Cancel
Save