Skip to content

NaN offset when building out chat example #257

Open
@kgrosvenor

Description

@kgrosvenor

const vsl = this.$refs.vsl
const offset = sids.reduce((previousValue, currentSid) => {
const previousSize = typeof previousValue === 'string' ? vsl.getSize(previousValue) : previousValue
return previousSize + this.$refs.vsl.getSize(currentSid)
})

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions