Skip to content

Commit f768382

Browse files
committed
Fix bootstrap pagination dom diffing issues
1 parent 6d93198 commit f768382

File tree

3 files changed

+24
-9
lines changed

3 files changed

+24
-9
lines changed

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ All notable changes to `laravel-livewire-tables` will be documented in this file
44

55
## [Unreleased]
66

7+
## [1.9.0] - 2021-06-XX
8+
9+
**This release requires re-publishing of assets.**
10+
11+
### Added
12+
13+
- [Date filters](https://github.com/rappasoft/laravel-livewire-tables/pull/332)
14+
15+
### Changed
16+
17+
- Replaced bootstrap dropdowns with Alpine on bootstrap themes which fixes them closing prematurely when selecting filters.
18+
- Added wrapping divs around needed `if` statements.
19+
- Fixed Bootstrap pagination DOM-diffing issues.
20+
721
## [1.8.0] - 2021-06-06
822

923
### Added
@@ -363,7 +377,8 @@ All notable changes to `laravel-livewire-tables` will be documented in this file
363377

364378
- Initial release
365379

366-
[Unreleased]: https://github.com/rappasoft/laravel-livewire-tables/compare/v1.8.0...development
380+
[Unreleased]: https://github.com/rappasoft/laravel-livewire-tables/compare/v1.9.0...development
381+
[1.9.0]: https://github.com/rappasoft/laravel-livewire-tables/compare/v1.8.0...v1.9.0
367382
[1.8.0]: https://github.com/rappasoft/laravel-livewire-tables/compare/v1.7.1...v1.8.0
368383
[1.7.1]: https://github.com/rappasoft/laravel-livewire-tables/compare/v1.7.0...v1.7.1
369384
[1.7.0]: https://github.com/rappasoft/laravel-livewire-tables/compare/v1.6.1...v1.7.0

resources/views/bootstrap-4/includes/pagination.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
</div>
77

88
<div class="col-12 col-md-6 text-center text-md-right text-muted">
9-
@lang('Showing')
9+
<span>@lang('Showing')</span>
1010
<strong>{{ $rows->count() ? $rows->firstItem() : 0 }}</strong>
11-
@lang('to')
11+
<span>@lang('to')</span>
1212
<strong>{{ $rows->count() ? $rows->lastItem() : 0 }}</strong>
13-
@lang('of')
13+
<span>@lang('of')</span>
1414
<strong>{{ $rows->total() }}</strong>
15-
@lang('results')
15+
<span>@lang('results')</span>
1616
</div>
1717
</div>
1818
@else

resources/views/bootstrap-5/includes/pagination.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
</div>
77

88
<div class="col-12 col-md-6 text-center text-md-end text-muted">
9-
@lang('Showing')
9+
<span>@lang('Showing')</span>
1010
<strong>{{ $rows->count() ? $rows->firstItem() : 0 }}</strong>
11-
@lang('to')
11+
<span>@lang('to')</span>
1212
<strong>{{ $rows->count() ? $rows->lastItem() : 0 }}</strong>
13-
@lang('of')
13+
<span>@lang('of')</span>
1414
<strong>{{ $rows->total() }}</strong>
15-
@lang('results')
15+
<span>@lang('results')</span>
1616
</div>
1717
</div>
1818
@else

0 commit comments

Comments
 (0)