ben
February 2, 2024, 5:46am
1
Wappler Version : 6.2.1
Operating System : W11
Actual behavior
The Off Canvas container is not recognised in App Connect.
There should be a target for the Close button as in data-bs-target="#offcanvas"
The Open button cannot be assigned to the Off Canvas because of point one above.
Teodor
February 2, 2024, 6:15am
2
Is this a newly inserted offcanvas or some that you added in the previous versions?
Teodor
February 2, 2024, 6:37am
4
Not sure i really understand the issue, just tested this on 6.1.3 and here’s the result:
The offcanvas is properly recognized in App Connect panel and i can also bind any button to control it.
Also:
ben:
There should be a target for the Close button as in data-bs-target="#offcanvas"
No, there should not be any target there, the data-bs-dismiss
attribute is what is needed and from what i see it is there.
ben
February 2, 2024, 7:44am
5
When the Off Canvas is changed to offcanvas-lg
you will see what I mean
The dismiss button does not work in an offcanvas-lg
when there is no target
set.
This is what the official Bootstrap site states:
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#offcanvasResponsive" aria-label="Close"></button>
</div>
3 Likes
George
February 2, 2024, 7:49am
6
Good catch Ben. Yes we have to use multiple classes to find the offcanvas with the responsive offcanvas classes, we are not looking for just offcanvas.
We improve that.
4 Likes
baub
February 6, 2024, 9:04pm
8
Thanks @ben I’ve literally been trying to get this to work all day! ugh
George
February 8, 2024, 8:24pm
9
This is now fixed in the latest Wappler 6.2
1 Like
ben
February 9, 2024, 9:59am
11
@George , the close button still does not work without data-bs-target="#[target]"
.
Edit: I should have added, the close button does not work when the offcanvas has been changed to ofcanvas-lg
.
George
February 9, 2024, 4:11pm
13
This is now improved in the just released Wappler 6.2.1
2 Likes
George
Closed
February 9, 2024, 5:00pm
14
This topic was automatically closed after 20 hours. New replies are no longer allowed.
Teodor
February 10, 2024, 7:14am
21
What is not fixed Ben?
You can now select your offcanvas close button and choose the offcanvas to close.