Hello together,
I’m currently building a time picker as popover. So far no problems and it is working. But i don’t know how to hide the scrollbars in the two f7-col components. Can someone help me?
I tried already -webkit-scrollbar
but it was not working on my test.
uid: widget_6144747152
props:
parameterGroups: []
parameters: []
tags: []
component: f7-card
config:
title: click me
footer: =props.prop1
content: =vars.timepickerTemp
slots:
default:
- component: oh-button
config:
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? vars.timepickerTemp : "--:--"'
popoverOpen: .heatingTimePickerPopover
style:
position: absolute
top: 0px
width: 100%
height: 100%
slots:
default:
- component: f7-popover
config:
class: heatingTimePickerPopover
style:
max-width: 400px
min-width: 270px
slots:
default:
- component: f7-block
config:
style:
--f7-button-text-color: var(--f7-text-color)
--f7-button-bg-color: var(--f7-card-bg-color)
--f7-theme-color-rgb: var(--f7-color-blue-rgb)
slots:
default:
- component: f7-card
config:
class: padding-top align-content-center
style:
top: -10px
height: 70px
z-index: 100
width: calc(100% - 20px)
slots:
default:
- component: oh-label-card
config:
label: '=(vars.timepickerTemp) ? vars.timepickerTemp : "--:--"'
outline: true
- component: f7-row
config:
class: margin
slots:
default:
- component: f7-col
config:
style:
height: 250px
overflow-y: auto
slots:
default:
- component: oh-button
config:
text: "00"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp.split(":")[1]) ? "00:" + vars.timepickerTemp.split(":")[1]: "00:00"'
- component: oh-button
config:
text: "01"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "01:" + vars.timepickerTemp.split(":")[1]: "01:00"'
- component: oh-button
config:
text: "02"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "02:" + vars.timepickerTemp.split(":")[1]: "02:00"'
- component: oh-button
config:
text: "03"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "03:" + vars.timepickerTemp.split(":")[1]: "03:00"'
- component: oh-button
config:
text: "04"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "04:" + vars.timepickerTemp.split(":")[1]: "04:00"'
- component: oh-button
config:
text: "05"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "05:" + vars.timepickerTemp.split(":")[1]: "05:00"'
- component: oh-button
config:
text: "06"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "06:" + vars.timepickerTemp.split(":")[1]: "06:00"'
- component: oh-button
config:
text: "07"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "07:" + vars.timepickerTemp.split(":")[1]: "07:00"'
- component: oh-button
config:
text: "08"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "08:" + vars.timepickerTemp.split(":")[1]: "08:00"'
- component: oh-button
config:
text: "09"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "09:" + vars.timepickerTemp.split(":")[1]: "09:00"'
- component: oh-button
config:
text: "10"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "10:" + vars.timepickerTemp.split(":")[1]: "10:00"'
- component: oh-button
config:
text: "11"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "11:" + vars.timepickerTemp.split(":")[1]: "11:00"'
- component: oh-button
config:
text: "12"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "12:" + vars.timepickerTemp.split(":")[1]: "12:00"'
- component: oh-button
config:
text: "13"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "13:" + vars.timepickerTemp.split(":")[1]: "13:00"'
- component: oh-button
config:
text: "14"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "14:" + vars.timepickerTemp.split(":")[1]: "14:00"'
- component: oh-button
config:
text: "15"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "15:" + vars.timepickerTemp.split(":")[1]: "15:00"'
- component: oh-button
config:
text: "16"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "16:" + vars.timepickerTemp.split(":")[1]: "16:00"'
- component: oh-button
config:
text: "17"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "17:" + vars.timepickerTemp.split(":")[1]: "17:00"'
- component: oh-button
config:
text: "18"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "18:" + vars.timepickerTemp.split(":")[1]: "18:00"'
- component: oh-button
config:
text: "19"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "19:" + vars.timepickerTemp.split(":")[1]: "19:00"'
- component: oh-button
config:
text: "20"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "20:" + vars.timepickerTemp.split(":")[1]: "20:00"'
- component: oh-button
config:
text: "21"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "21:" + vars.timepickerTemp.split(":")[1]: "21:00"'
- component: oh-button
config:
text: "22"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "22:" + vars.timepickerTemp.split(":")[1]: "22:00"'
- component: oh-button
config:
text: "23"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? "23:" + vars.timepickerTemp.split(":")[1]: "23:00"'
- component: f7-col
config:
style:
height: 250px
overflow-y: auto
slots:
default:
- component: oh-button
config:
text: "00"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? vars.timepickerTemp.split(":")[0] + ":00" : "00:00"'
- component: oh-button
config:
text: "05"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? vars.timepickerTemp.split(":")[0] + ":05" : "00:05"'
- component: oh-button
config:
text: "10"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? vars.timepickerTemp.split(":")[0] + ":10" : "00:10"'
- component: oh-button
config:
text: "15"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? vars.timepickerTemp.split(":")[0] + ":15" : "00:15"'
- component: oh-button
config:
text: "20"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? vars.timepickerTemp.split(":")[0] + ":20" : "00:20"'
- component: oh-button
config:
text: "25"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? vars.timepickerTemp.split(":")[0] + ":25" : "00:25"'
- component: oh-button
config:
text: "30"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? vars.timepickerTemp.split(":")[0] + ":30" : "00:30"'
- component: oh-button
config:
text: "35"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? vars.timepickerTemp.split(":")[0] + ":35" : "00:35"'
- component: oh-button
config:
text: "40"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? vars.timepickerTemp.split(":")[0] + ":40" : "00:40"'
- component: oh-button
config:
text: "45"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? vars.timepickerTemp.split(":")[0] + ":45" : "00:45"'
- component: oh-button
config:
text: "50"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? vars.timepickerTemp.split(":")[0] + ":50" : "00:50"'
- component: oh-button
config:
text: "55"
raised: true
large: true
action: variable
actionVariable: timepickerTemp
actionVariableValue: '=(vars.timepickerTemp) ? vars.timepickerTemp.split(":")[0] + ":55" : "00:55"'